OrdinalAxisSpec class

AxisSpec specialized for ordinal/non-continuous axes typically for bars.

Inheritance
Annotations
  • @immutable

Constructors

OrdinalAxisSpec({RenderSpec<String>? renderSpec, OrdinalTickProviderSpec? tickProviderSpec, OrdinalTickFormatterSpec? tickFormatterSpec, bool? showAxisLine, OrdinalScaleSpec? scaleSpec, OrdinalViewport? viewport})
Creates a AxisSpec that specialized for ordinal domain charts.
const

Properties

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

Methods

configure(Axis<String> axis, ChartContext context, GraphicsFactory graphicsFactory) → void
override
createAxis() OrdinalAxis
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