I'd like to remove the datapoint markers from a LineSeries in my Silverlight chart. The only way i found on the web is to set the VisibilityProperty to Collapse.
//not working in the current SL toolkit release var collapseDataPointSetter = new Setter(Control.VisibilityProperty, Visibility.Collapsed);
But this isn't working for the current release of the SL toolkit. How can i remove or hide DataPoint Markers in the current release?
Doing it with styles in my opinion is not the best approach because you still have an enormous amount of visuals when you also have a lot of datapoints like in a stock chart.
Doing it this way you have almost five times less Visuals than when you just set some style.
I used Jim's solution (thank you very much by the way, HUGE help there) and applied it to the default chart template.
In the palette area you have the resource dictionary for each line in the series.
Here is how I was able to get rid of it using Jim's control template, and I can put it in each ResourceDictonary so I don't have to do it line by line
This worked for me at least, and it will save me a lot of time (and has already saved a lot of my hair before I pulled it out)
pantarhei,
Use the following chart styles (with referenced templates) to hide the data points. I have included styles for both the LineSeries and the AreaSeries.
Good luck, Jim