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
45
XamWebChart -Programatically Hiding/unHiding Series
posted

Hello,

We are looking at a functionality where in users should be able to hide/un-hide a series from XamWebChart by clicking on the legend Items.

In LegenItem Click  event, we are using the following code to make a series invisible on the chart.

 

  LineChart.Series[i].Visibility = Visibility.Collapse.

 

The Visibility Property is changing but the Series still exists on the chart.

Please suggest. whats going wrong here.