TinyColumnChartOptions class

A set of options to customize a TinyColumnChart display.

Limits

Specify yminLimit, maxLimit to customize the data space in which the chart will paint.

Any of these parameters, when omitted, will default to the minimum or maximum y value in the coordinates passed to TinyColumnChart.dataPoints.

See also:

Annotations

Constructors

TinyColumnChartOptions({double? minLimit, double? maxLimit, required Color positiveColor, required Color negativeColor, Color? lowestColor, Color? highestColor, Color? firstColor, Color? lastColor, bool showAxis = false, Color axisColor = const Color(0xFF000000)})
const

Properties

axisColor Color
The color of the axis line, if visible.
final
firstColor Color?
The color of the fist column.
final
hashCode int
The hash code for this object.
no setteroverride
highestColor Color?
The color of columns with values equals or bigger than maxLimit or the highest y value on TinyColumnChart.dataPoints
final
lastColor Color?
The color of the last column.
final
lowestColor Color?
The color of columns with values equals or smaller than minLimit or the lowest y value on TinyColumnChart.dataPoints
final
maxLimit double?
Customize the data space in which the chart will paint.
final
minLimit double?
Customize the data space in which the chart will paint.
final
negativeColor Color
The default color of columns with negative values.
final
positiveColor Color
The default color of columns with positive values.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAxis bool
Defines if the line representing the x axis should be painted.
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.
override