tags:

views:

958

answers:

2

I have multiple line series in a chart. Chart lines are drawn first and then dots follow the lines. It's annoying and the size of big dots makes large datasets simply useless. Currently I am doing this for each lineseries...

    <chartingToolkit:LineSeries
          Title="Socket 2"
          Name="LineSocket2"
          LegendItemStyle ="{StaticResource LegendItemStyle}"
          IndependentValueBinding="{Binding timestamp}"
          DependentValueBinding="{Binding wattage}"
          ToolTip="Socket 2">

        <chartingToolkit:LineSeries.DataPointStyle>
            <Style TargetType="{x:Type chartingToolkit:LineDataPoint}">
                <Setter Property="Visibility" Value="Collapsed"/>
            </Style>
        </chartingToolkit:LineSeries.DataPointStyle>

    </chartingToolkit:LineSeries>

But it doesn't do what I want.

How can it be done?

+1  A: 

The charting toolkit is actually a derivative of the Charting in the Silverlight toolkit.

Hence the answer to the question removing-collapsing-datapoints-in-a-lineseries may work for you.

AnthonyWJones