MainSeries class abstract
Main series plugin (open extension point). Implementers declare the range basis usesHighLow and paint in paint; the canvas is clipped to the main panel
- Implementers
Constructors
- MainSeries()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Stable identifier (for logs, persistence); built-in styles share names with MainSeriesStyle
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usesHighLow → bool
-
true: high/low contribute to the main chart range; close-only styles must return false, or
the line is flattened by a range stretched by wicks
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, RenderContext ctx, SeriesPaintKit kit) → void -
Use
ctx.xOf(i)/ctx.mainPanel.yOf(v)for coordinates -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromStyle(
MainSeriesStyle style) → MainSeries - Maps the built-in enum to an instance; other styles pass a MainSeries instance directly