Jump to content
Software FX Community

Multi-series best practices?


Recommended Posts

I'm pretty new to using the ChartFX WinForms control.  Can anyone help me with the "best" approach to programmatically handle charting the following situation?

 In a database there are tables of transactional time-series data, say 'Inventory', 'Production', 'Demand', 'Shipments', etc.  The data in each table is similar in that each row has a datetime and a value.  There could be hundreds or thousands of points in each series.  Plotting any one series is pretty straight-forward, and if the different series were separate columns on the same table, that wouldn't be a problem -- what's confusing me is how to combine them on the same chart when they are in different tables. 

A user may desire to see production and demand plotted together, or any other combination, but the datetimes on the different tables will not be in sync (e.g. production is entered at the end of each day but demand is recorded when an order is received at random intervals and times of day).  The selection of series to plot needs to be dynamic and series' may be added or removed at will. 

So, how should I go about telling the chart to add one of these series to the existing chart, syncing the date time values for a single x-axis, etc?

Any advice/direction is very much appreciated.



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...