LineChartLabel class abstract
The label of the line chart.
- Implementers
Constructors
-
LineChartLabel({List<
LineChartLabelText> ? texts, double rotation = 0, TextStyle? style, double spaceFromAxis = 4}) -
Creates LineChartLabel.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- rotation → double
-
The rotation angle of the label. The unit is degree.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spaceFromAxis → double
-
The space from the axis.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - style → TextStyle?
-
The style of the label.
final
-
texts
→ List<
LineChartLabelText> ? -
The list of the label text.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickTexts(
LineChartRangeInternal range) → List< LineChartLabelText> - Picks the label texts to show.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited