Jump to content
Software FX Community

Dynamic Data Series Binding to Chart in MVVM


asteele

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...