InitialSelection<D> class
Behavior that sets initial selection.
- Implemented types
Constructors
-
InitialSelection({SelectionModelType selectionModelType = SelectionModelType.info, List<
SeriesDatumConfig< ? selectedDataConfig, List<D> >String> ? selectedSeriesConfig, bool shouldPreserveSelectionOnDraw = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- role → String
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedDataConfig
→ List<
SeriesDatumConfig< ?D> > -
List of SeriesDatumConfig that represents the initially selected datums.
final
-
selectedSeriesConfig
→ List<
String> ? -
List of series id of initially selected series.
final
- selectionModelType → SelectionModelType
-
final
- shouldPreserveSelectionOnDraw → bool
-
Preserve selection on every draw. False by default and only preserves
selection until the fist draw or redraw call.
final
Methods
-
attachTo(
BaseChart< D> chart) → void -
Injects the behavior into a chart.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFrom(
BaseChart< D> chart) → void -
Removes the behavior from a chart.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited