@stacksjs/charts 0.75.519 → 0.75.522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart.d.ts +27 -0
- package/package.json +1 -1
package/dist/chart.d.ts
CHANGED
|
@@ -15,8 +15,35 @@ export declare class Chart {
|
|
|
15
15
|
options: ChartOptions;
|
|
16
16
|
canvas: HTMLCanvasElement;
|
|
17
17
|
ctx: CanvasRenderingContext2D;
|
|
18
|
+
private resizeObserver;
|
|
19
|
+
private hitItems;
|
|
20
|
+
private tooltipEl;
|
|
21
|
+
private boundMove;
|
|
22
|
+
private boundLeave;
|
|
18
23
|
constructor(target: HTMLCanvasElement | CanvasRenderingContext2D, config: ChartConfig);
|
|
19
24
|
update(): void;
|
|
20
25
|
resize(): void;
|
|
21
26
|
destroy(): void;
|
|
27
|
+
private observeResize;
|
|
28
|
+
private attachInteractions;
|
|
29
|
+
private syncCanvasSize;
|
|
30
|
+
private render;
|
|
31
|
+
private renderCartesian;
|
|
32
|
+
private hasRightAxis;
|
|
33
|
+
private computeAxis;
|
|
34
|
+
private drawGridAndYAxis;
|
|
35
|
+
private drawYAxis;
|
|
36
|
+
private drawXAxis;
|
|
37
|
+
private scaleX;
|
|
38
|
+
private scaleY;
|
|
39
|
+
private drawLines;
|
|
40
|
+
private drawBars;
|
|
41
|
+
private drawBarSeries;
|
|
42
|
+
private renderRadial;
|
|
43
|
+
private layoutLegend;
|
|
44
|
+
private drawLegend;
|
|
45
|
+
private handleMouseMove;
|
|
46
|
+
private findClosestByIndex;
|
|
47
|
+
private showTooltip;
|
|
48
|
+
private hideTooltip;
|
|
22
49
|
}
|
package/package.json
CHANGED