LegendOptions class abstract

Annotations
  • @anonymous
  • @JS()

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
getter/setter pair
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).
getter/setter pair
item ↔ dynamic
getter/setter pair
position String
Change the position of legend. Currently bottom, right and inset are supported.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Show or hide legend.
getter/setter pair

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