36591_1478188759 Posted September 16, 2010 Report Posted September 16, 2010 We are working with big datasets that can contain timeseries with more than 50 000 values. When having many of these timeseries painting of the chart becomes slow. Also the chart becomes messy if plotting all of these 50 000 values for each timeseries. A solution to this could be to reduce the number of datavalues by some sort of filtering before populated in the chart. This will speed up the performance/reduce plotting time, but the resolution is lost when zooming. Is there any functionality in ChartFX to handle this? Quote
Frank Posted September 21, 2010 Report Posted September 21, 2010 Yes. Take a look ad Data.CompactedBy (http://support.softwarefx.com/OnlineDoc/cfxNet70//WinAPI/DataValues_CompactedBy.htm) This will help if the performance degradation comes from drawing the chart. If the degradation comes from obtaining data from your datasource, then it will not and you will have to devise a strategy for filtering your data before bringing it to the client (e.g. in SQL). You can always capture Zoom events to repopulate the chart with a new set of points. Quote
36591_1478188759 Posted September 24, 2010 Author Report Posted September 24, 2010 Thanks, Compacting of data will help us a lot. I have another question regarding two of the compacting formulas HiLowClose and OpenHiLowClose. How does these compacting formulas work? I could not find ant documentation about this. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.