Jump to content
Software FX Community

Plotting long dataseries


Recommended Posts

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? 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...