Take the 2-minute tour ×

Is it possible to hide the data points in the chart control from the WinRT XAML Toolkit from CodePlex? I'm using a LineSeries and only want a line without the dots.

share|improve this question
It should be the same approach as in Silverlight Toolkit since that is where we ported it from. You can probably change the template for the data points. –  Filip Skakun Oct 30 '12 at 21:37
Yes, but how I have to change the style for the data points. This is the question. –  Thomas Sebastian Jensen Oct 30 '12 at 21:41
add comment

1 Answer

up vote 1 down vote accepted

This seems to work. Though I am not yet sure why it makes my lines orange...

    Title="Line Chart Without Data Points"
        IndependentValueBinding="{Binding Name}"
        DependentValueBinding="{Binding Value}"
                    Value="0" />
                    Value="False" />
                    Value="0" />
                    Value="0" />
                                Opacity="0" />
share|improve this answer
Yeah! It's working great, but you are right the color of the line is acutally orange, but this is not a problem for me. But if I have only one point to display, I see nothing on the graph, because of hiding the points. Is it possible to change the Style, if I have only one point to display? Thanks. –  Thomas Sebastian Jensen Oct 31 '12 at 5:29
Of course - you could either use a different template depending on your data or modify the code of the line series to enable your scenario. –  Filip Skakun Oct 31 '12 at 15:34
add comment

Your Answer


