-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscale.radialLinear.d.ts
More file actions
63 lines (63 loc) · 1.67 KB
/
scale.radialLinear.d.ts
File metadata and controls
63 lines (63 loc) · 1.67 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
63
export default class RadialLinearScale extends LinearScaleBase {
static id: string;
/**
* @type {any}
*/
static defaults: any;
static defaultRoutes: {
'angleLines.color': string;
'pointLabels.color': string;
'ticks.color': string;
};
static descriptors: {
angleLines: {
_fallback: string;
};
};
/** @type {number} */
xCenter: number;
/** @type {number} */
yCenter: number;
/** @type {number} */
drawingArea: number;
/** @type {string[]} */
_pointLabels: string[];
_pointLabelItems: any[];
_padding: import("../types.js").ChartArea;
generateTickLabels(ticks: any): void;
setCenterPoint(leftMovement: any, rightMovement: any, topMovement: any, bottomMovement: any): void;
getIndexAngle(index: any): number;
getDistanceFromCenterForValue(value: any): number;
getValueForDistanceFromCenter(distance: any): any;
getPointLabelContext(index: any): any;
getPointPosition(index: any, distanceFromCenter: any, additionalAngle?: number): {
x: number;
y: number;
angle: number;
};
getPointPositionForValue(index: any, value: any): {
x: number;
y: number;
angle: number;
};
getBasePosition(index: any): {
x: number;
y: number;
angle: number;
};
getPointLabelPosition(index: any): {
left: any;
top: any;
right: any;
bottom: any;
};
/**
* @protected
*/
protected drawGrid(): void;
/**
* @protected
*/
protected drawLabels(): void;
}
import LinearScaleBase from "./scale.linearbase.js";