NumericAxisSpec class

AxisSpec specialized for numeric/continuous axes like the measure axis.

Inheritance
Implementers
Annotations
  • @immutable

Constructors

NumericAxisSpec({RenderSpec<num>? renderSpec, NumericTickProviderSpec? tickProviderSpec, NumericTickFormatterSpec? tickFormatterSpec, bool? showAxisLine, ScaleSpec<num>? scaleSpec, NumericExtents? viewport})
Creates a AxisSpec that specialized for numeric data.
const
NumericAxisSpec.from(NumericAxisSpec other, {RenderSpec<num>? renderSpec, TickProviderSpec<num>? tickProviderSpec, TickFormatterSpec<num>? tickFormatterSpec, bool? showAxisLine, ScaleSpec<num>? scaleSpec, NumericExtents? viewport})
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
renderSpec RenderSpec<num>?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleSpec ScaleSpec<num>?
finalinherited
showAxisLine bool?
finalinherited
tickFormatterSpec TickFormatterSpec<num>?
finalinherited
tickProviderSpec TickProviderSpec<num>?
finalinherited
viewport NumericExtents?
Sets viewport for this Axis.
final

Methods

configure(Axis<num> axis, ChartContext context, GraphicsFactory graphicsFactory) → void
override
createAxis() NumericAxis
Creates an appropriately typed Axis.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override