|class||ChartDirector||MBS ChartDirector Plugin||21.2||✅ Yes||✅ Yes||✅ Yes||✅ Yes||All|
With the DataAccelerator, it is possible to plot a chart with 1 billion data points with programmable track cursor support. The chart can smoothly zoom out to display all data points and zoom in 100,000,000X to see individual data points. At the same time, the chart can update in real time with thousands of data points per second.
Even if DataAccelerator is not used, ChartDirector can often achieve adequate performance for up to a few million data points depending on chart complexity. That means you do not need to use DataAccelerator if you have less than 100000 data points.
Each DataAccelerator can support one x data series shared by multiple y data series. Multi-threading can be used to process the series in parallel. You can use multiple DataAccelerator objects if you have multiple x data series.
The DataAccelerator needs around 12 bytes of RAM per data value. Since the application must store the data in RAM before passing it to DataAccelerator, it needs at least 8 bytes per double precision number. That means the application would consume around 20 bytes per value, or 20G of RAM for 1 billion values.
In the current version of ChartDirector, only XY chart line layers can support DataAccelerator with the CDXYChartMBS.addLineLayer3 method. Area charts can be created from line layers with CDXYChartMBS.addInterLineLayer.
- 7 methods
- method addDataSeries(id as string, yData as CDArrayMBS)
- method addDataSeries(id as string, yData() as double)
- method Constructor
- method Constructor(xData as CDArrayMBS)
- method Constructor(xData() as double)
- method extendLength(len as Integer)
- method setSubsetRange(xStart as double, xEnd as double, resolution as Integer = 0)
This class has no sub classes.
Some methods using this class:
- CDXYChartMBS.addLineLayer(fastDB as CDDataAcceleratorMBS, seriesId as string, color as integer = -1, name as string = "") as CDLineLayerMBS
- News from the MBS Xojo Plugins Version 21.2
- MBS Xojo Plugins, version 21.2pr5
- ChartDirector 7 update
The items on this page are in the following plugins: MBS ChartDirector Plugin.