PlChartAxis class

What one axis is told about itself.

Constructors

PlChartAxis({bool hidden = false, String? label, double? min, double? max, int tickCount = 5, bool grid = true, double? thickness, String format(double value)?})
Creates an axis.
const

Properties

format String Function(double value)?
How a tick is written.
final
grid bool
Rules across the plot at each tick.
final
hashCode int
The hash code for this object.
no setterinherited
hidden bool
Draws nothing at all and gives the room back to the plot, which is what makes a sparkline-shaped chart the same widget with both axes off rather than a different widget.
final
label String?
A name for the axis, written along it.
final
max double?
Pins the top.
final
min double?
Pins the bottom of a value axis. Naming it turns off the include-zero rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double?
Overrides the band the axis reserves, in logical pixels.
final
tickCount int
Roughly how many ticks to aim for. The scale rounds to clean numbers, so what comes out is near this rather than on it.
final

Methods

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.
inherited