Interface that provides everything there is to know about the dimensions, bounds, and range of the chart.

interface ChartInterface {
    centerOffsets: MPPointF;
    centerOfView: MPPointF;
    contentRect: Rect;
    data: ChartData<any, any>;
    defaultValueFormatter: ValueFormatter;
    highlightsFilterByAxis: boolean;
    maxHighlightDistance: number;
    maxVisibleValueCount: number;
    xChartMax: number;
    xChartMin: number;
    xRange: number;
    yChartMax: number;
    yChartMin: number;
    getMeasuredHeight(): any;
    getMeasuredWidth(): any;
}

Hierarchy (View Summary)

Implemented by

Properties

centerOffsets: MPPointF
centerOfView: MPPointF
contentRect: Rect
data: ChartData<any, any>
defaultValueFormatter: ValueFormatter
highlightsFilterByAxis: boolean

Wether to filter highlights by axis. Default is true

maxHighlightDistance: number

Returns the maximum distance in scren dp a touch can be away from an entry to cause it to get highlighted.

maxVisibleValueCount: number
xChartMax: number

Returns the maximum x value of the chart, regardless of zoom or translation.

xChartMin: number

Returns the minimum x value of the chart, regardless of zoom or translation.

xRange: number
yChartMax: number

Returns the maximum y value of the chart, regardless of zoom or translation.

yChartMin: number

Returns the minimum y value of the chart, regardless of zoom or translation.

Methods

  • Returns any

  • Returns any