InteractiveRenderer class abstract interface

An opt-in capability a ChartRenderer can also implement to expose the geometry it drew, so the interaction layer can hit-test it. InteractiveChart checks renderer is InteractiveRenderer; renderers that don't implement it still render normally, just without tooltips/selection (graceful degrade).

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildScene(Size size) ChartScene
Builds the hit-test ChartScene for size. Implementations must derive it from the same math used in ChartRenderer.draw, so the marks line up with the pixels exactly.
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