DataLabel class

Settings for one set of data labels.

Data labels are annotations that appear next to a set of data, such as the points on a line chart, and provide additional information about what the data represents, such as a text representation of the value behind that point on the graph.

Constructors

DataLabel({ChartData? customLabelData, String? placement, TextFormat? textFormat, String? type})
DataLabel.fromJson(Map json_)

Properties

customLabelData ChartData?
Data to use for custom labels.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
placement String?
The placement of the data label relative to the labeled data. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textFormat TextFormat?
The text format used for the data label.
getter/setter pair
type String?
The type of the data label. Possible string values are:
getter/setter pair

Methods

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

Operators

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