Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Chart > Scatter Series Maximum Number of Values

Not answered Scatter Series Maximum Number of Values

Feed from this thread
  • Daniel avatar

    Posted on Jan 21, 2012 (permalink)

    Hi,

    I have set up a RadChart with a ScatterSeriesDefinition. I am then setting the ItemsSource from the code, by passing it an ObservableCollection<> which holds a custom object called Coordinate, which is essentially just an object that stores an X value and a Y value.

    My problem is, there is probably about 1000 Coordinate's in the ObservableCollection, yet only about 200 of them are being displayed on the Chart. 

    Is there a limit to the number of points that this type of chart can hold in one series? Or am I doing something wrong?

    Thanks

    Reply

  • Posted on Jan 23, 2012 (permalink)

    By default, RadChart uses a "Sample" size of 200 (Sampling is discussed in the RadChart documentation). You can change this, or eliminate it, by setting it to zero. This is the way I do it in XAML.

    <!-- By default, RadChart uses a 200 point sampling. Turn this feature off -->
    <chart:RadChart.SamplingSettings>
       <charting:SamplingSettings SamplingThreshold="0"/>
    </chart:RadChart.SamplingSettings>

    Reply

  • Daniel avatar

    Posted on Jan 23, 2012 (permalink)

    Thanks very much, that fixed it!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Chart > Scatter Series Maximum Number of Values
Related resources for "Scatter Series Maximum Number of Values"

WPF Chart Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]