chartjs-gauge-v3 - v3.0.0-beta.1 / GaugeController
DoughnutController
↳ GaugeController
• new GaugeController(chart
, datasetIndex
)
Name | Type |
---|---|
chart |
Chart <keyof ChartTypeRegistry , (null | number | ScatterDataPoint | BubbleDataPoint )[], unknown > |
datasetIndex |
number |
DoughnutController.constructor
▪ Static
Readonly
id: "gauge"
DoughnutController.id
▸ draw(): void
void
DoughnutController.draw
▸ drawNeedle(): void
void
▸ drawValueLabel(): void
void
▸ update(mode
): void
Name | Type |
---|---|
mode |
"normal" | "none" | "hide" | "show" | "active" | "resize" | "reset" |
void
DoughnutController.update
▸ updateElements(elements
, start
, count
, mode
): void
Name | Type |
---|---|
elements |
Element <AnyObject , AnyObject >[] |
start |
number |
count |
number |
mode |
"normal" | "none" | "hide" | "show" | "active" | "resize" | "reset" |
void
DoughnutController.updateElements