This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I'm in the process to review multiple WPF vendors, 1 of the them is MindscapeHq. One of the key components we will use is the Charting component. While reviewing the component a couple of questions came up. How does the chart perform with a lot of datapoints? We would like to use the charting to plot data for 8 hours updating the chart twice a second.
regards,
michel |
|
|
Hello Michel Thanks for trialing WPF Elements. You can manually specify the minimum and maximum axis values as follows:
<ms:Chart> I'm not sure what you mean by letting the axis increase with steps of 0.001 when needed. Do you mean as the data is changing, the minimum and maximum values can change with steps of 0.001 to keep the data in the viewport? As for performance, it depends what series you will be using. The fastest data series are the ones that link data points together with a line. LineSeries, AreaSeries, SplineSeries, SplineAreaSeries and the equivalent stacked series. BarSeries and Scatter series are not as fast, though they may be improved in WPF Elements v5.0 comming soon. For the line based series, I tested with updating the chart twice per second with 500,000 data points with satisfactory results. - Jason |
|
|
Hi Jason,
thank you for your answer. I'll try to make my question more clear.
if I setup my chart like below and my next datapoint would be 223.1516 this datapoint won't be displayed in the chart. The Yaxis is not rescaling automatically because we staticly define the minimum and maximum values. I'm looking for a solution so my chart is still showing datapoint with their precision but have an autoscale on the axis. So preferable the datapoints with the minimum and maximum value for the Y-Axis are dictatng the minimum and maximum value of the Y-axis. <ms:Chart> I hope this explanation is more clear. thanks! michel |
|
|
Hello Michel Yes this explination is very clear. Our chart control provides support for automatically setting the axis range which can be enabled by not setting the minimum and maximum values of the axis. This will allow the minimum and maximum Y axis values to be based on the highest and lowest data points. The values are also automatically updated when the data is changed. At this stage however, this automatic range will always include the zero coordinate of the Y axis, and will increase/decrease the axis values by 1 instead of 0.001. To suit your scenario I have included a couple of properties on the DataSeries class. You can download an update with these properties through the nightly builds from tomorrow the 30th of September. This will be available from the downloads page: http://www.mindscapehq.com/products/wpfelements/nightly-builds When you download this update, set the AlwaysShowYAxisZero property to false, and the YAxisDataBuffer to 0.001. These properties will be found on the LineSeries or whatever series you are using. Also, don't set the minimum and maximum Y axis values in order to enable automatic axis ranges. Try it out and let us know if there are any more details that need to be addressed. - Jason |
|