LegendPosition enum
Legend Position in charts.
Values
- auto → const LegendPosition
-
LegendPosition.auto
, places the legend either at the bottom when the height is greater than the width, or at right when the width is greater than height.
- bottom → const LegendPosition
-
LegendPosition.bottom
, places the legend below the plot area.
- left → const LegendPosition
-
LegendPosition.left
, places the legend at the left to the plot area.
- right → const LegendPosition
-
LegendPosition.right
, places the legend at the right to the plot area.
- top → const LegendPosition
-
LegendPosition.top
, places the legend at the top of the plot area.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
LegendPosition> - A constant List of the values in this enum, in order of their declaration.