SeriesPlot
Builder for creating series plots — a 1D sequence of y-values plotted against their sequential index on the x-axis. A series plot is the simplest way to visualise a time series, signal, or any ordered sequence of measurements. The x-axis is assigned automatically as consecutive integers0, 1, 2, … matching the index of each value.
Multiple SeriesPlot instances combined in one plots vector share the same axes and are drawn in order, enabling overlay of several series.
Constructor
Create a series plot with default settings.Defaults:
- No data
- Color:
"black" - Style:
Point(circles at each value) - Stroke width:
2.0pixels - Point radius:
3.0pixels - No legend
Data Methods
Styling Methods
"black". Accepts any CSS color string ("steelblue", "#4682b4", "rgb(70,130,180)").2.0). Only affects Line and Both styles.3.0). Only affects Point and Both styles.Display Style Methods
Legend Methods
Enums & Types
SeriesStyle
Display style for aSeriesPlot. Controls whether each data point is rendered as a line segment, a dot, or both.
Line- Connect consecutive values with a polyline. No dots are drawn.Point- Draw a circle at each value. No connecting line is drawn. (default)Both- Draw both the connecting polyline and a circle at each value.