mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-11 18:56:49 +01:00
Document stacked parse data (#8491)
This commit is contained in:
9
types/index.esm.d.ts
vendored
9
types/index.esm.d.ts
vendored
@@ -3133,6 +3133,15 @@ export type ScaleType = keyof ScaleTypeRegistry;
|
||||
interface CartesianParsedData {
|
||||
x: number;
|
||||
y: number;
|
||||
|
||||
// Only specified when stacked bars are enabled
|
||||
_stacks?: {
|
||||
// Key is the stack ID which is generally the axis ID
|
||||
[key: string]: {
|
||||
// Inner key is the datasetIndex
|
||||
[key: number]: number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface BarParsedData extends CartesianParsedData {
|
||||
|
||||
Reference in New Issue
Block a user