Interface which can be used to describe a preprocessing mode for Step series_. This is a variant of line series, where the transitions between data points are not straight, but applied with 90 degree angles, so that every line segment is either fully horizontal or fully vertical. Used with setCurvePreprocessing method:

 // Example
PointLineAreaSeries.setCurvePreprocessing({ type: 'step', step: 'middle' })

Supports three different stepping modes, step, 'before', 'middle' and 'after'.

NOTE: Curve preprocessing is only supported for progressive data patterns. See dataPattern for more information.

Hierarchy

  • CurvePreprocessingStep

Properties

Properties

step?: "middle" | "after" | "before"

Stepping mode. Behavior description for ProgressiveX data pattern:

'before' -> After A coordinate, Y will first jump to B.y value, then X will move to B.x.

'middle' -> After A coordinate, X will first move to the middle point between A.x and B.x, then Y will move to B.y and finally X will move to B.x.

'after' -> After A coordinate, X will first move to B.x value, then Y will move to B.y.

type: "step"

Identifier for step preprocessing.