Jump to content
Software FX Community

asteele

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by asteele

  1. In relation to my question above is it possible to bind to the Series property of a chart with a SeriesAtrributesCollection and properly display the data.  I'm not sure if it implements something like INotifyCollectionChanged or INotifyPropertyChanged like an ObsetrvableCollection would in order for it to dynamically change and update when data sets are added to it.

  2. Does anyone know if there is a chart property or coding pattern that would allow for a dynamically changing collection of datasets to be properly bound and plotted on a chart in an MVVM pattern.  Im guessing that individual data sets can be bound if the number of data sets is known beforehand.  Unfortunately my number of plots will be determined at run time.  I tried binding to the charts ItemSource property but that only made a single point for each series in the source, not a separate series.

  3. AxisX ="{Binding Path=AxisXControl}" AxisY="{Binding Path=AxisYControl}"

    is the binding I tried.  Then ahveing properties in the viewmodel of:

    ChartFX.WPF.Axis AxisXControl { get; set; }

    ChartFX.WPF.Axis AxisYControl { get; set; }

    and finally trying to set them as so:

    AxisXControl.Max = Convert.ToDouble(GraphViewModel.Xmax);

     

    AxisXControl.Min = Convert.ToDouble(GraphViewModel.Xmin);

     

    AxisYControl.Max = Convert.ToDouble(GraphViewModel.Ymax);

     

    AxisYControl.Min = Convert.ToDouble(GraphViewModel.Ymin);

    Afterwhich nothing happens to the min and max of the X and Y axes on the graph.

  4. Is there anyway this example can be elaborated upon?  When I try to make use of its guidance I get an error saying VM does not exist after attempting the xmlns delcaration for it.

×
×
  • Create New...