XAxisRenderer class
- Inheritance
-
- Object
- Renderer
- AxisRenderer
- XAxisRenderer
- Implementers
Constructors
- XAxisRenderer(ViewPortHandler viewPortHandler, XAxis? xAxis, Transformer? trans)
Properties
- axis ↔ AxisBase?
-
getter/setter pairinherited
- axisLabelPaint ↔ TextPainter?
-
getter/setter pairinherited
- axisLinePaint ↔ Paint?
-
getter/setter pairinherited
- gridPaint ↔ Paint?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- limitLinePaint ↔ Paint?
-
getter/setter pairinherited
- mGridClippingRect ↔ Rect
-
getter/setter pair
- mLimitLineClippingRect ↔ Rect
-
getter/setter pair
-
mRenderGridLinesBuffer
↔ List<
double?> -
getter/setter pair
- mRenderGridLinesPath ↔ Path
-
getter/setter pair
-
mRenderLimitLinesBuffer
↔ List<
double?> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trans ↔ Transformer?
-
getter/setter pairinherited
- viewPortHandler ↔ ViewPortHandler?
-
getter/setter pairinherited
- xAxis → XAxis?
-
no setter
Methods
-
computeAxis(
double min, double max, bool inverted) → void -
Computes the axis values.
override
-
computeAxisValues(
double min, double max) → void -
Sets up the axis values. Computes the desired number of labels between the two given extremes.
override
-
computeSize(
) → void -
drawGridLine(
Canvas c, double x, double? y, Path path) → void - Draws the grid line at the specified position using the provided path.
-
drawLabel(
Canvas c, String formattedLabel, double? x, double y, MPPointF anchor, double angleDegrees, XAxisPosition position) → void -
drawLabels(
Canvas c, double pos, MPPointF anchor, XAxisPosition position) → void - draws the x-labels on the specified y-position
-
getGridClippingRect(
) → Rect -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderAxisLabels(
Canvas c) → void -
Draws the axis labels to the screen.
override
-
renderAxisLine(
Canvas c) → void -
Draws the line that goes alongside the axis.
override
-
renderGridLines(
Canvas c) → void -
Draws the grid lines belonging to the axis.
override
-
renderLimitLineLabel(
Canvas c, LimitLine limitLine, List< double?> position, double yOffset) → void -
renderLimitLineLine(
Canvas c, LimitLine limitLine, List< double?> position) → void -
renderLimitLines(
Canvas c) → void -
Draws the LimitLines associated with this axis to the screen.
override
-
setupGridPaint(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited