Created by Philipp Jahoda on 25/01/16.

Hierarchy (View Summary)

Constructors

Properties

animator: ChartAnimator

the animator object used to perform animations on the chart data

mChart: RadarChart
mHighlightPaint: Paint

palet used for highlighting values

mRenderPaint: Paint

main palet object used for rendering

mValuePaint: Paint

palet object for drawing values (text representing values of chart entries)

mViewPortHandler: ViewPortHandler

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

mWebPaint: Paint

palet for drawing the web

mXBounds: XBounds

buffer for storing the current minimum and maximum visible x

Accessors

  • get highlightPaint(): Paint
  • Returns Paint

  • get renderPaint(): Paint
  • Returns Paint

  • get valuePaint(): Paint
  • Returns Paint

  • get webPaint(): Paint
  • Returns Paint

Methods

  • Applies the required styling (provided by the DataSet) to the value-paint object.

    Parameters

    Returns void

  • Draws the actual data in form of lines, bars, ... depending on Renderer subclass.

    Parameters

    • c: Canvas

    Returns void

  • Draws the RadarDataSetF

    Parameters

    • c: Canvas
    • dataSet: IRadarDataSet
    • mostEntries: any

      the entry count of the dataset with the most entries

    Returns void

  • Draws any kind of additional information (e.g. line-circles).

    Parameters

    • c: Canvas

    Returns void

  • Draws the provided path in filled mode with the provided color and alpha. Special thanks to Angelo Suzuki (https://github.com/tinsukE) for this.

    Parameters

    • c: Canvas
    • filledPath: Path
    • fillColor: string | Color
    • OptionalfillAlpha: number
    • Optionalshader: any

    Returns void

  • Draws the provided path in filled mode with the provided drawable.

    Parameters

    • c: Canvas
    • filledPath: Path
    • drawable: ImageSource
    • shader: any

    Returns void

  • Parameters

    • c: Canvas
    • point: MPPointF
    • innerRadius: any
    • outerRadius: any
    • fillColor: any
    • strokeColor: any
    • strokeWidth: any

    Returns void

  • Draws all highlight indicators for the values that are currently highlighted.

    Parameters

    Returns void

  • Draws vertical & horizontal highlight-lines if enabled.

    Parameters

    • c: Canvas
    • x: any

      x-position of the highlight line intersection

    • y: any

      y-position of the highlight line intersection

    • set: ILineScatterCandleRadarDataSet<any>

      the currently drawn dataset

    Returns void

  • Draws the icons of the given entry

    Type Parameters

    • T

    Parameters

    • canvas: Canvas

      canvas

    • chart: Chart<any, any, any>

      icon to draw

    • dataSet: DataSet<any>
    • dataSetIndex: number
    • entry: T
    • entryIndex: number
    • icon: ImageSource | Shape

      icon to draw

    • x: number

      position

    • y: number

      position

    • OptionalcustomRender: BaseCustomRenderer

    Returns void

  • Parameters

    • canvas: Canvas
    • path: Path
    • paint: Paint

    Returns void

  • Draws the value of the given entry by using the provided IValueFormatter.

    Type Parameters

    • T

    Parameters

    • c: Canvas

      canvas

    • chart: Chart<any, any, any>
    • dataSet: DataSet<any>
    • dataSetIndex: number
    • entry: T

      label to draw

    • entryIndex: any

      label to draw

    • valueText: string

      label to draw

    • x: number

      position

    • y: number

      position

    • color: string | Color
    • paint: Paint
    • OptionalcustomRender: BaseCustomRenderer

    Returns void

  • Loops over all Entrys and draws their values.

    Parameters

    • c: Canvas

    Returns void

  • Parameters

    • c: Canvas

    Returns void

  • Returns true if the DataSet values should be drawn, false if not.

    Parameters

    Returns boolean