pub fn stairs_add<X: ToString, Y: ToString>(
plot: &mut Plot<GridCanvas>,
x: &[X],
y: &[Y],
style: StairStyle,
options: LineplotSeriesOptions,
) -> Result<(), LineplotError>Expand description
Adds a staircase series to an existing plot.
ยงErrors
Returns LineplotError::LengthMismatch when lengths differ,
LineplotError::EmptySeries for empty input, and
LineplotError::InvalidNumericValue when parsing fails.