Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Hiding a series
posted

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

Parents
  • 34510
    Verified Answer
    Offline posted

    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.

    SeriesBinder.zip
Reply Children
No Data