-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-write Dataset and Series Storage Architecture #6
Comments
This comment is a placeholder for ideas. The current structure of Plots, Datasets and Series is very intuitive and should be kept. The Plot should determine the overall presentation of the chart, e.g. one of:
The Dataset is a container for the Series. Certain plots can only accept certain types of Dataset, and certain Datasets can only contain certain types of Series. The capability of the Plot, Dataset and Series is identified by a wxStringList. There has to be a match between the capabilty and the contained item content for it to be accepted. |
Some more thoughts on this.
|
Further quick notes:
|
Further quick notes:
Notes on Interpretation Layer Data is stored in data points, data series and data sets. A data point contains a number of dimensions (which could be considered as X, Y, Z etc. but not necessarily). Interpretation does 2 things:
This interpretation layer works well, but it appears to be slow for a large number of points within a data set. I think this is because of the wxAny conversion which takes place multiple times for each data point on each plot refresh (i.e. establishing bounds, drawing axis, plotting the actual data). The solution is to cache the interpreted values as they are stored rather than on the fly. This means the interpretation penalty is incurred once during storage rather than potentially tens (or millions in the case of dynamic data) of times during plotting. Although this causes a modest increase in storage requirements, it should not have any noticeable impact on a modern system. |
Bring wxFreeChart up to date to allow datasets to be generated from (and essentially be based on) wxList and wxVector classes.
There is already a VectorDataset, but this does not seem to offer much functionality over and above a normal XYDataset.
The text was updated successfully, but these errors were encountered: