GraphSelection class final
The selection: the row (or the one bar or slice) under the pointer or a finger, or pinned by a tap. The graph draws it apart and says what it holds in a tooltip.
- Inheritance
-
- Object
- PropRecord
- GraphSelection
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- props → Props
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → WidgetSpec
-
The field declarations.
no setteroverride
Methods
-
get<
T> (PropDef< T> def) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → GraphSelection
Constants
-
bandDef
→ const PropDef<
Color?> - A fill behind the selected row, the height of the pane.
-
byDef
→ const PropDef<
String> -
row: everything the row has.mark: the one bar or slice. -
codec
→ const ValueCodec<
GraphSelection> -
dimDef
→ const PropDef<
double> - The opacity of what is not selected while something is (1: as it is).
-
dotDef
→ const PropDef<
double> - A dot of this radius on each line at the selected row (0: none).
- empty → const GraphSelection
-
growDef
→ const PropDef<
double> - How much larger a selected slice is drawn.
-
onDef
→ const PropDef<
String> -
none,hover(the pointer, or a finger while it is down),tap(a tap selects and stays; a tap on it again lets go) orboth. - spec → const WidgetSpec
-
titleDef
→ const PropDef<
String> - The row field of the tooltip's first line; the x label when empty.
-
tooltipDef
→ const PropDef<
bool> -
tooltipFillDef
→ const PropDef<
Color?> -
The tooltip's ground and text; the style's
tooltipandtooltipTextwhen not given. -
tooltipTextDef
→ const PropDef<
Color?> -
totalDef
→ const PropDef<
bool> - A last tooltip row with the sum of the row's marks.