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
Adding specific legend entries
posted

Hi,

my project is based on the examples from this thread:

http://es.infragistics.com/community/forums/t/97638.aspx

How can I add legend entries only for e.g. every other series in the chart?

Best

Oliver

Parents
No Data
Reply
  • 34510
    Verified Answer
    Offline posted

    Hi Oliver,

    Each series has a LegendItemVisibility property.  It's just a matter of hooking up this property to the view model like the series binder does with a number of other series properties.  I added a property for legend visibility so now you can tell it what property in your view model you want to use for controlling whether it is visible in the legend or not and the series binder will bind the Series.LegendItemVisibility to it.

    SeriesBinder.zip
Children