The chart's title, displayed at the top of the panel.
Label for the domain axis
An array of labels for the range axes, one per series.
An array of Floats containing the initial domain values.
A two dimension array of floats containing the range data for each series. The first index into the array selects the data for an individual series, the second/innermost index selects an element in that series.
Overwrites existing Y data with the contents of the given array.
Overwrites existing Y data with the contents of the given array. Assumes (series, col) indexing. This translates into a chart that looke like this:
+-----------+---------------+---------------+------ series 0 | T - times | T - times + 1 | T - times + 2 | ... +-----------+---------------+---------------+------ series 1 | T - times | T - times + 1 | T - times + 2 | ... +-----------+---------------+---------------+------ ... | ...
Shifts the visible X-axis range by shiftBy
units.
Updates the data set by dropping the first/left-most item from each data series and then appending the values given as arguments to this method.
Updates the data set by dropping the first/left-most item from each data series and then appending the values given as arguments to this method. Keep in mind that the data will be sorted by domain value prior to rendering.
E.g., consider the 2-series data set here:
series 0 y values -- | 1 | 2 | 3 | 4 | 5 | series 1 y values -- | 4 | 7 | 2 | 9 | 1 | domain values -- | 2 | 4 | 5 | 7 | 9 |
Calling updateData
with (3, Array(3, 4)) yields:
series 0 y values -- | 3 | 4 | 5 | 3 | 3 | series 1 y values -- | 2 | 9 | 1 | 4 | 4 | domain values -- | 4 | 5 | 7 | 9 | 3 |
But sorting will cause values to be rendered in this order: *
series 0 y values -- | 3 | 3 | 4 | 5 | 3 | series 1 y values -- | 4 | 2 | 9 | 1 | 4 | domain values -- | 3 | 4 | 5 | 7 | 9 |
Updates the data set by shifting the y value of each (x1, y) pair in each
data series to the previous (x0, y) pair, and then dropping the yData
argument values into the now vacant y component of the last xy pairs.
Updates the data set by shifting the y value of each (x1, y) pair in each
data series to the previous (x0, y) pair, and then dropping the yData
argument values into the now vacant y component of the last xy pairs.
E.g., consider the 2-series data set here:
series 0 y values -- | 1 | 2 | 3 | 4 | 5 | series 1 y values -- | 4 | 7 | 2 | 9 | 1 | domain values -- | 2 | 4 | 5 | 7 | 9 |
Calling updateData
with Array(3, 4) yields:
series 0 y values -- | 2 | 3 | 4 | 5 | 3 | series 1 y values -- | 7 | 2 | 9 | 1 | 4 | domain values -- | 2 | 4 | 5 | 7 | 9 |
A data visualization that displays a number of timeseries plots stacked on top of each other. Each chart has its own set of y/range values and range axis, but all share the same x/domain values and axis. This class is intended to provide the same functionality as Cog 3's MultiXYPlot class.
All data is sorted according by the domain value prior to rendering. Thus, the lines drawn on the timeseries plots can never double back.