GraphYAxis class final

A pane's y scale.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
props → Props
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → WidgetSpec
The field declarations.
no setteroverride

Methods

get<T>(PropDef<T> def) → T
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Object? json) → GraphYAxis

Constants

codec → const ValueCodec<GraphYAxis>
decimalsDef → const PropDef<int>
domainDef → const PropDef<String>
visible: fitted to the rows in view. data: to all rows. fixed: min to max.
empty → const GraphYAxis
includeDef → const PropDef<List<double>>
Values the fitted domain always holds (zero, a goal).
labelsDef → const PropDef<bool>
marginsDef → const PropDef<List<double>>
Room above and below the fitted values, [top, bottom], as shares of their span ([0.1, 0.1] when not given).
maxDef → const PropDef<double?>
minDef → const PropDef<double?>
modeDef → const PropDef<String>
linear, or percent: labels are the change from the first row in view.
niceDef → const PropDef<bool>
A fitted domain is rounded out to the ticks, so the plot starts and ends on a labeled line (margins are then not added).
prefixDef → const PropDef<String>
Written before and after each label ($, k, %).
sideDef → const PropDef<String>
right or left: where the axis is (one side for the whole graph: left when any pane says so).
spec → const WidgetSpec
suffixDef → const PropDef<String>
ticksDef → const PropDef<int>
About how many round ticks the axis has.
tickValuesDef → const PropDef<Object?>
The ticks themselves, when the graph does not choose them: 12 or {value, label}.
widthDef → const PropDef<double>
The axis's width; 0 for none.