Interface Series
access this type via: stats.chart.Series (provides, requires or uses)
--- extends:ChartCore
--- semantic variants: line
API to create a single-series graph, where both axes are used to represent numeric ranges such as time. Use one of the semantic variants of this interface to select a particular type of graph.
Constants
byte M_NONE
byte M_SQUARE
byte M_SQUARE_OUTLINE
byte M_PLUS
byte M_CROSS
Functions
Series()
void addSample(dec xv, dec yvalues[], optional bool redraw)
void setSeriesColor(storeColor c)
void setSeriesMarkers(byte type)
void showErrorBars(bool b)
void clampErrorBars(dec low, dec high)
Constants
M_NONE Sets the marker style used to display this series.
M_SQUARE
M_SQUARE_OUTLINE
M_PLUS
M_CROSS
Series()
void addSample(dec xv, dec yvalues[], optional bool redraw)
Add a new sample (or set of samples).
xv The x-axis value at which this sample appears.
yvalues The values for this series data.
void setSeriesColor(storeColor c)
Sets a color used to display this series.
c The color for this series.
void setSeriesMarkers(byte type)
void showErrorBars(bool b)
Display error bars on the graph (if the specific implementation supports it).
void clampErrorBars(dec low, dec high)
This function can be used to clamp error bars at specific values. This can be useful for display purposes if a value could not be outside a certain range.
low Lowest value allowed.
high Highest value allowed.