HorizontalBarChartMarker class

Inheritance

Constructors

HorizontalBarChartMarker({Color textColor = ColorUtils.purple, Color backColor = ColorUtils.white, double? fontSize})

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

calculatePos(double posX, double posY, double textW, double textH) Offset
inherited
draw(Canvas canvas, double posX, double posY) → void
Draws the IMarker on the given position on the screen with the given Canvas object.
inherited
getOffset() MPPointF
@return The desired (general) offset you wish the IMarker to have on the x- and y-axis. By returning x: -(width / 2) you will center the IMarker horizontally. By returning y: -(height / 2) you will center the IMarker vertically.
inherited
getOffsetForDrawingAtPoint(double posX, double posY) MPPointF
@return The offset for drawing at the specific point. This allows conditional adjusting of the Marker position. If you have no adjustments to make, return getOffset().
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshContent(Entry e, Highlight highlight) → void
This method enables a specified custom IMarker to update it's content every time the IMarker is redrawn.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited