Baseclass of all axis renderers.

Hierarchy (View Summary)

Constructors

Properties

mAxis: AxisBase

base axis this axis renderer works with

mAxisLabelPaint: Paint

palet for the x-label values

mAxisLinePaint: Paint

palet for the line surrounding the chart

mChart: BarChart
mForceLongestLabelComputation: boolean
mGridPaint: Paint

palet object for the grid lines

mLabelsPositionsBuffer: TypedArray
mLimitLinePaint: Paint

palet used for the limit lines

mRenderGridLinesBuffer: TypedArray
mViewPortHandler: ViewPortHandler

the component that handles the drawing area of the chart and it's offsets

transformer: Transformer

transformer to transform values to screen pixels and return

xAxis: XAxis

Accessors

  • get axisLabelsPaint(): Paint
  • Returns the Paint object used for drawing the axis (labels).

    Returns Paint

  • get axisLinePaint(): Paint
  • Returns the Paint object that is used for drawing the axis-line that goes alongside the axis.

    Returns Paint

  • get gridPaint(): Paint
  • Returns the Paint object that is used for drawing the grid-lines of the axis.

    Returns Paint

  • get limitLinePaint(): Paint
  • Returns Paint

Methods

  • Computes the axis values.

    Parameters

    • min: any

      the minimum value in the data object for this axis

    • max: any

      the maximum value in the data object for this axis

    • inverted: any

    Returns void

  • Sets up the axis values. Computes the desired number of labels between the two given extremes.

    Parameters

    • min: any
    • max: any

    Returns void

  • Returns void

  • Draws the grid line at the specified position using the provided path.

    Parameters

    Returns void

  • Parameters

    Returns void

  • Draws the x-labels on the specified y-position.

    Parameters

    Returns void

  • Draw the mark tickets on the specified y-position

    Parameters

    • c: Canvas
    • pos: any
    • ticklength: any

    Returns void

  • Parameters

    • Optionalmin: any
    • Optionalmax: any
    • Optionalinverted: any

    Returns { max: any; min: any }

  • Draws the axis labels to the screen.

    Parameters

    • c: Canvas

    Returns void

  • Draws the line that goes alongside the axis.

    Parameters

    • c: Canvas

    Returns void

  • Draws the grid lines belonging to the axis.

    Parameters

    • c: Canvas

    Returns void

  • Parameters

    • c: Canvas
    • limitLine: LimitLine
    • position: any
    • yOffset: any

    Returns void

  • Draws the LimitLines associated with this axis to the screen. This is the standard YAxis renderer using the XAxis limit lines.

    Parameters

    • c: Canvas

    Returns void