LegendOptions class

Annotations

Constructors

LegendOptions({bool show, dynamic hide, String position, dynamic inset, dynamic item})
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
hide ↔ dynamic
Hide legend If true given, all legend will be hidden. If string or array given, only the legend that has the id will be hidden.
read / write
inset ↔ dynamic
Change inset legend attributes. This option accepts object that has the keys anchor, x, y and step. anchor decides the position of the legend. These anchors are available: top-left, top-right, bottom-left, bottom-right x and y set the position of the legend based on the anchor. step defines the max step the lagend has (e.g. If 2 set and legend has 3 legend item, the legend 2 columns).
read / write
item ↔ dynamic
read / write
position String
Change the position of legend. Currently bottom, right and inset are supported.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
show bool
Show or hide legend.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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