ChartDataLabels class Charts

What a chart prints on its data labels, the small text drawn on each point, bar, or slice. Pass one to a Chart via dataLabels; omit it for none.

Constructors

ChartDataLabels({bool value = true, bool category = false, bool percent = false, bool seriesName = false})
Creates a data-label configuration; by default it shows the value only.
const

Properties

category bool
Show each point's category name.
final
hashCode int
The hash code for this object.
no setterinherited
percent bool
Show each point's share of the total as a percentage (pie / doughnut).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesName bool
Show the series name.
final
value bool
Show each point's numeric value.
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