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