Hi,
I'm using a XamDataChart to draw a dynamic number of series in an MVVM environment. Now I have change the visibility of some of the series by un-/checking a Checkbox.
Here is a sample I based my work on:
http://users.infragistics.com/Samples/SeriesBinder.zip
Thanks
Oliver
Hi Oliver,
I updated the SeriesBinder sample to include a binding for the Visibility property on the series. I added a property to the SeriesViewModel for controlling the Visibility and inside the series binder I bound this property to the series' Visibility property so you can now control this from the view model. This should let you bind the Checkbox to the view model property to control the series visibility.
Thanks, it works fine.