| 1 |
export default class BarController extends DatasetController { |
| 2 |
static id: string; |
| 3 |
/** |
| 4 |
* @type {any} |
| 5 |
*/ |
| 6 |
static overrides: any; |
| 7 |
/** |
| 8 |
* Overriding primitive data parsing since we support mixed primitive/array |
| 9 |
* data for float bars |
| 10 |
* @protected |
| 11 |
*/ |
| 12 |
protected parsePrimitiveData(meta: any, data: any, start: any, count: any): any[]; |
| 13 |
/** |
| 14 |
* Overriding array data parsing since we support mixed primitive/array |
| 15 |
* data for float bars |
| 16 |
* @protected |
| 17 |
*/ |
| 18 |
protected parseArrayData(meta: any, data: any, start: any, count: any): any[]; |
| 19 |
/** |
| 20 |
* Overriding object data parsing since we support mixed primitive/array |
| 21 |
* value-scale data for float bars |
| 22 |
* @protected |
| 23 |
*/ |
| 24 |
protected parseObjectData(meta: any, data: any, start: any, count: any): any[]; |
| 25 |
update(mode: any): void; |
| 26 |
/** |
| 27 |
* Returns the stacks based on groups and bar visibility. |
| 28 |
* @param {number} [last] - The dataset index |
| 29 |
* @param {number} [dataIndex] - The data index of the ruler |
| 30 |
* @returns {string[]} The list of stack IDs |
| 31 |
* @private |
| 32 |
*/ |
| 33 |
private _getStacks; |
| 34 |
/** |
| 35 |
* Returns the effective number of stacks based on groups and bar visibility. |
| 36 |
* @private |
| 37 |
*/ |
| 38 |
private _getStackCount; |
| 39 |
_getAxisCount(): number; |
| 40 |
getFirstScaleIdForIndexAxis(): string; |
| 41 |
_getAxis(): string[]; |
| 42 |
/** |
| 43 |
* Returns the stack index for the given dataset based on groups and bar visibility. |
| 44 |
* @param {number} [datasetIndex] - The dataset index |
| 45 |
* @param {string} [name] - The stack name to find |
| 46 |
* @param {number} [dataIndex] |
| 47 |
* @returns {number} The stack index |
| 48 |
* @private |
| 49 |
*/ |
| 50 |
private _getStackIndex; |
| 51 |
/** |
| 52 |
* @private |
| 53 |
*/ |
| 54 |
private _getRuler; |
| 55 |
/** |
| 56 |
* Note: pixel values are not clamped to the scale area. |
| 57 |
* @private |
| 58 |
*/ |
| 59 |
private _calculateBarValuePixels; |
| 60 |
/** |
| 61 |
* @private |
| 62 |
*/ |
| 63 |
private _calculateBarIndexPixels; |
| 64 |
} |
| 65 |
import DatasetController from "../core/core.datasetController.js"; |