DomainOutliner<D> class

Chart behavior that monitors the specified SelectionModel and outlines the selected data.

This is typically used for treemap charts to highlight nodes. For bars and pies, prefers to use DomainHighlighter for UX consistency.

Implemented types

Constructors

DomainOutliner({SelectionModelType selectionType = SelectionModelType.info, double? defaultStrokePx, double? strokePaddingPx})

Properties

defaultStrokePx double
Default stroke width of the outline if the series has no stroke width function.
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
selectionType SelectionModelType
final
strokePaddingPx double
Additional stroke width added to the outline of the selected data.
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