I'm evaluating if your WPF component suite is capable of meeting our needs, and it's beginning to look like a no for the simple reason that I can't even get the tool to display my data. I have the following target:
Get a chart to display 2048 brand new values every 27 ms.
I have attempted this in two different ways, using a
RadChart, and using a
ChartArea
.
1) RadChart
This was the first chart that I found that I was able simply declare/assign data to.
e.g.
Data is an ObservableCollection<float> which, on a timer ticks every 27 ms, completely changes the data to new random
numbers.
The RadChart performed marvelously, except for 1 flaw, it wanted to be fancy, erasing the whole chart and redrawing from
left to right the new data. This is not acceptable, as new data arrives so quickly that not 1 data point is plotted before it's wiped
again. After scouring these forums for ways to disable this functionality, and only getting "Just set the EnableAnimations to false in
the ChartArea" with absolutely no idea how/where this ChartArea is in my RadChart, I opted to making a ChartArea instead.
2) ChartArea
So wanting to disable the animations of the chart, I immediately discovered this functionality:
e.g.
;
Alas, "No Data Series." ... What? I clearly set it in the exact same way as the RadChart. No combination of
DataContext/ItemsSource assigning has resulted in any data points being presented. I'm clearly doing this incorrectly, but am
unable after hours of searching these forums to locate such a simple setup as I have defined above.
Any assistance with this would be greatly appreciated, as I cannot actually test the capabilities of this suite otherwise.
(for clarification, I have tried this via xaml as well, and have had identical results. My code is also being implemented in c# 2010, .net 4.0)