Document stacked parse data (#8491)

This commit is contained in:
Evert Timberg
2021-02-22 12:55:26 -05:00
committed by GitHub
parent 311292da7e
commit 8c1cca280d

View File

@@ -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 {