ChartScale class

chart Y axis scale

Constructors

ChartScale({required ChartScalePosition position, String textColor = '#333', TimeChartValueFormatter? valueFormatter, TimeChartValueFormatter? legendFormatter, double? min, double? max, List<double> lines = const []})

Properties

hashCode → int
The hash code for this object.
no setterinherited
legendFormatter → TimeChartValueFormatter?
final
lines ↔ List<double>
getter/setter pair
max ↔ double?
getter/setter pair
min ↔ double?
getter/setter pair
position → ChartScalePosition
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor → String
final
valueFormatter → TimeChartValueFormatter?
final

Methods

formatLegendValue(num value) → String
formatValue(num value) → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLinesByStep(double step) → void
toString() → String
A string representation of this object.
override

Operators

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