LockSelection<D> class

Chart behavior that listens to tap event triggers and locks the specified SelectionModel. This is used to prevent further updates to the selection model, until it is unlocked again.

SelectionModels that can be updated: info - To view the details of the selected items (ie: hover for web). action - To select an item as an input, drill, or other selection.

You can add one LockSelection for each model type that you are updating. Any previous LockSelection behavior for that selection model will be removed.

Implemented types

Constructors

LockSelection({SelectionModelType selectionModelType = SelectionModelType.info})

Properties

eventTrigger SelectionTrigger
Type of input event that should trigger selection.
final
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
selectionModelType SelectionModelType
Type of selection model that should be updated by input events.
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