PointLabelDecorator<D> class

Inheritance

Constructors

PointLabelDecorator({TextStyleSpec? labelStyleSpec, TextStyleSpec? selectedLabelStyleSpec, required LabelCallback labelCallback, int horizontalPadding = 0, int verticalPadding = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalPadding int
final
labelCallback → LabelCallback
final
labelStyleSpec TextStyleSpec?
final
renderAbove bool
Configures whether the decorator should be rendered on top of or below series data elements.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedLabelStyleSpec TextStyleSpec?
final
verticalPadding int
final

Methods

decorate(PointRendererElement<D> pointElement, ChartCanvas canvas, GraphicsFactory graphicsFactory, {required Rectangle<num> drawBounds, required double animationPercent, bool rtl = false}) → void
override
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