Interface: PolarAreaController

Hierarchy

Properties

_cachedMeta

Readonly _cachedMeta: ChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>

Inherited from

DoughnutController._cachedMeta

Defined in

index.esm.d.ts:566PolarAreaController - 图1 (opens new window)


chart

Readonly chart: Chart<keyof ChartTypeRegistry, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Inherited from

DoughnutController.chart

Defined in

index.esm.d.ts:564PolarAreaController - 图2 (opens new window)


enableOptionSharing

enableOptionSharing: boolean

Inherited from

DoughnutController.enableOptionSharing

Defined in

index.esm.d.ts:567PolarAreaController - 图3 (opens new window)


index

Readonly index: number

Inherited from

DoughnutController.index

Defined in

index.esm.d.ts:565PolarAreaController - 图4 (opens new window)


innerRadius

Readonly innerRadius: number

Inherited from

DoughnutController.innerRadius

Defined in

index.esm.d.ts:319PolarAreaController - 图5 (opens new window)


offsetX

Readonly offsetX: number

Inherited from

DoughnutController.offsetX

Defined in

index.esm.d.ts:321PolarAreaController - 图6 (opens new window)


offsetY

Readonly offsetY: number

Inherited from

DoughnutController.offsetY

Defined in

index.esm.d.ts:322PolarAreaController - 图7 (opens new window)


outerRadius

Readonly outerRadius: number

Inherited from

DoughnutController.outerRadius

Defined in

index.esm.d.ts:320PolarAreaController - 图8 (opens new window)

Methods

addElements

addElements(): void

Returns

void

Inherited from

DoughnutController.addElements

Defined in

index.esm.d.ts:583PolarAreaController - 图9 (opens new window)


applyStack

Protected applyStack(scale, parsed): number

Parameters

NameType
scaleScale<CoreScaleOptions>
parsedunknown[]

Returns

number

Inherited from

DoughnutController.applyStack

Defined in

index.esm.d.ts:619PolarAreaController - 图10 (opens new window)


buildOrUpdateElements

buildOrUpdateElements(resetNewElements?): void

Parameters

NameType
resetNewElements?boolean

Returns

void

Inherited from

DoughnutController.buildOrUpdateElements

Defined in

index.esm.d.ts:584PolarAreaController - 图11 (opens new window)


calculateCircumference

calculateCircumference(value): number

Parameters

NameType
valuenumber

Returns

number

Inherited from

DoughnutController.calculateCircumference

Defined in

index.esm.d.ts:325PolarAreaController - 图12 (opens new window)


calculateTotal

calculateTotal(): number

Returns

number

Inherited from

DoughnutController.calculateTotal

Defined in

index.esm.d.ts:324PolarAreaController - 图13 (opens new window)


configure

configure(): void

Returns

void

Inherited from

DoughnutController.configure

Defined in

index.esm.d.ts:581PolarAreaController - 图14 (opens new window)


countVisibleElements

countVisibleElements(): number

Returns

number

Defined in

index.esm.d.ts:371PolarAreaController - 图15 (opens new window)


draw

draw(): void

Returns

void

Inherited from

DoughnutController.draw

Defined in

index.esm.d.ts:576PolarAreaController - 图16 (opens new window)


getAllParsedValues

getAllParsedValues(scale): number[]

Parameters

NameType
scaleScale<CoreScaleOptions>

Returns

number[]

Inherited from

DoughnutController.getAllParsedValues

Defined in

index.esm.d.ts:570PolarAreaController - 图17 (opens new window)


getDataset

getDataset(): ChartDataset<keyof ChartTypeRegistry, (number | ScatterDataPoint | BubbleDataPoint)[]>

Returns

ChartDataset<keyof ChartTypeRegistry, (number | ScatterDataPoint | BubbleDataPoint)[]>

Inherited from

DoughnutController.getDataset

Defined in

index.esm.d.ts:578PolarAreaController - 图18 (opens new window)


getLabelAndValue

Protected getLabelAndValue(index): Object

Parameters

NameType
indexnumber

Returns

Object

NameType
labelstring
valuestring

Inherited from

DoughnutController.getLabelAndValue

Defined in

index.esm.d.ts:571PolarAreaController - 图19 (opens new window)


getMaxOverflow

Protected getMaxOverflow(): number | boolean

Returns

number | boolean

Inherited from

DoughnutController.getMaxOverflow

Defined in

index.esm.d.ts:575PolarAreaController - 图20 (opens new window)


getMeta

getMeta(): ChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>

Returns

ChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>

Inherited from

DoughnutController.getMeta

Defined in

index.esm.d.ts:579PolarAreaController - 图21 (opens new window)


getMinMax

Protected getMinMax(scale, canStack?): Object

Parameters

NameType
scaleScale<CoreScaleOptions>
canStack?boolean

Returns

Object

NameType
maxnumber
minnumber

Inherited from

DoughnutController.getMinMax

Defined in

index.esm.d.ts:626PolarAreaController - 图22 (opens new window)


getParsed

Protected getParsed(index): number | BarParsedData | CartesianParsedData | BubbleParsedData | RadialParsedData

Parameters

NameType
indexnumber

Returns

number | BarParsedData | CartesianParsedData | BubbleParsedData | RadialParsedData

Inherited from

DoughnutController.getParsed

Defined in

index.esm.d.ts:618PolarAreaController - 图23 (opens new window)


getScaleForId

getScaleForId(scaleID): Scale<CoreScaleOptions>

Parameters

NameType
scaleIDstring

Returns

Scale<CoreScaleOptions>

Inherited from

DoughnutController.getScaleForId

Defined in

index.esm.d.ts:580PolarAreaController - 图24 (opens new window)


getSharedOptions

Protected getSharedOptions(options): AnyObject

Utility for checking if the options are shared and should be animated separately.

Parameters

NameType
optionsAnyObject

Returns

AnyObject

Inherited from

DoughnutController.getSharedOptions

Defined in

index.esm.d.ts:593PolarAreaController - 图25 (opens new window)


getStyle

getStyle(index, active): AnyObject

Parameters

NameType
indexnumber
activeboolean

Returns

AnyObject

Inherited from

DoughnutController.getStyle

Defined in

index.esm.d.ts:586PolarAreaController - 图26 (opens new window)


includeOptions

Protected includeOptions(mode, sharedOptions): boolean

Utility for determining if options should be included in the updated properties

Parameters

NameType
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”
sharedOptionsAnyObject

Returns

boolean

Inherited from

DoughnutController.includeOptions

Defined in

index.esm.d.ts:598PolarAreaController - 图27 (opens new window)


initialize

initialize(): void

Returns

void

Inherited from

DoughnutController.initialize

Defined in

index.esm.d.ts:582PolarAreaController - 图28 (opens new window)


linkScales

linkScales(): void

Returns

void

Inherited from

DoughnutController.linkScales

Defined in

index.esm.d.ts:569PolarAreaController - 图29 (opens new window)


parse

parse(start, count): void

Parameters

NameType
startnumber
countnumber

Returns

void

Inherited from

DoughnutController.parse

Defined in

index.esm.d.ts:614PolarAreaController - 图30 (opens new window)


parseArrayData

Protected parseArrayData(meta, data, start, count): AnyObject[]

Parameters

NameType
metaChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>
dataAnyObject[]
startnumber
countnumber

Returns

AnyObject[]

Inherited from

DoughnutController.parseArrayData

Defined in

index.esm.d.ts:616PolarAreaController - 图31 (opens new window)


parseObjectData

Protected parseObjectData(meta, data, start, count): AnyObject[]

Parameters

NameType
metaChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>
dataAnyObject[]
startnumber
countnumber

Returns

AnyObject[]

Inherited from

DoughnutController.parseObjectData

Defined in

index.esm.d.ts:617PolarAreaController - 图32 (opens new window)


parsePrimitiveData

Protected parsePrimitiveData(meta, data, start, count): AnyObject[]

Parameters

NameType
metaChartMeta<Element<AnyObject, AnyObject>, Element<AnyObject, AnyObject>, keyof ChartTypeRegistry>
dataAnyObject[]
startnumber
countnumber

Returns

AnyObject[]

Inherited from

DoughnutController.parsePrimitiveData

Defined in

index.esm.d.ts:615PolarAreaController - 图33 (opens new window)


removeHoverStyle

removeHoverStyle(element, datasetIndex, index): void

Parameters

NameType
elementElement<AnyObject, AnyObject>
datasetIndexnumber
indexnumber

Returns

void

Inherited from

DoughnutController.removeHoverStyle

Defined in

index.esm.d.ts:611PolarAreaController - 图34 (opens new window)


reset

reset(): void

Returns

void

Inherited from

DoughnutController.reset

Defined in

index.esm.d.ts:577PolarAreaController - 图35 (opens new window)


resolveDataElementOptions

Protected resolveDataElementOptions(index, mode): AnyObject

Parameters

NameType
indexnumber
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”

Returns

AnyObject

Inherited from

DoughnutController.resolveDataElementOptions

Defined in

index.esm.d.ts:588PolarAreaController - 图36 (opens new window)


resolveDatasetElementOptions

Protected resolveDatasetElementOptions(mode): AnyObject

Parameters

NameType
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”

Returns

AnyObject

Inherited from

DoughnutController.resolveDatasetElementOptions

Defined in

index.esm.d.ts:587PolarAreaController - 图37 (opens new window)


setHoverStyle

setHoverStyle(element, datasetIndex, index): void

Parameters

NameType
elementElement<AnyObject, AnyObject>
datasetIndexnumber
indexnumber

Returns

void

Inherited from

DoughnutController.setHoverStyle

Defined in

index.esm.d.ts:612PolarAreaController - 图38 (opens new window)


update

update(mode): void

Parameters

NameType
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”

Returns

void

Inherited from

DoughnutController.update

Defined in

index.esm.d.ts:573PolarAreaController - 图39 (opens new window)


updateElement

Protected updateElement(element, index, properties, mode): void

Utility for updating an element with new properties, using animations when appropriate.

Parameters

NameType
elementElement<AnyObject, AnyObject>
indexnumber
propertiesAnyObject
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”

Returns

void

Inherited from

DoughnutController.updateElement

Defined in

index.esm.d.ts:604PolarAreaController - 图40 (opens new window)


updateElements

updateElements(elements, start, count, mode): void

Parameters

NameType
elementsElement<AnyObject, AnyObject>[]
startnumber
countnumber
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”

Returns

void

Inherited from

DoughnutController.updateElements

Defined in

index.esm.d.ts:572PolarAreaController - 图41 (opens new window)


updateIndex

updateIndex(datasetIndex): void

Parameters

NameType
datasetIndexnumber

Returns

void

Inherited from

DoughnutController.updateIndex

Defined in

index.esm.d.ts:574PolarAreaController - 图42 (opens new window)


updateRangeFromParsed

Protected updateRangeFromParsed(range, scale, parsed, stack): void

Parameters

NameType
rangeObject
range.maxnumber
range.minnumber
scaleScale<CoreScaleOptions>
parsedunknown[]
stackstring | boolean

Returns

void

Inherited from

DoughnutController.updateRangeFromParsed

Defined in

index.esm.d.ts:620PolarAreaController - 图43 (opens new window)


updateSharedOptions

Protected updateSharedOptions(sharedOptions, mode, newOptions): void

Utility to animate the shared options, that are potentially affecting multiple elements.

Parameters

NameType
sharedOptionsAnyObject
mode“resize” | “reset” | “hide” | “show” | “none” | “normal” | “active”
newOptionsAnyObject

Returns

void

Inherited from

DoughnutController.updateSharedOptions

Defined in

index.esm.d.ts:610PolarAreaController - 图44 (opens new window)