I have created a RadChart that is accepting a lot of data. For the test I am currently trying, it has 170,000 records coming in that I am trying to graph with a line series.
The chart has the following properties:
<control:RadChart x:Name="FlightGraph" UseDefaultLayout="False">
<chart:SamplingSettings SamplingThreshold="5000" SamplingFunction="KeepExtremes" />
<chart:ChartArea x:Name="FlightGraphArea" EnableAnimations="False">
<!-- <chart:ZoomScrollSettings ScrollMode="ScrollAndZoom"/>-->
I am having difficulties with the sampling. If I don’t use it, the entire chart grinds to a halt under the massive amount of rendering it needs to do. However, the sampling function does not appear to work as I would expect.
When the chart is displayed, the highest value it shows in 1.176. However, there are values of 1.25 in close proximity. If I zoom in to the points where I know they are, then they show up. But I do not understand why I have to do that. With the KeepExtremes sampling function, I would assume that the highest value would be the one to show up.
Can anyone explain this? Is there a way to get this working?