kline-orderbook-chart 1.3.0 → 1.4.1
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/CHANGELOG.md +34 -0
- package/dist/chart_engine.js +1 -1
- package/dist/chart_engine_bg.wasm +0 -0
- package/dist/index.d.ts +8 -0
- package/dist/mrd-chart-engine.mjs +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,14 @@ export interface MrdChart {
|
|
|
54
54
|
start(): void;
|
|
55
55
|
stop(): void;
|
|
56
56
|
resize(retries?: number): void;
|
|
57
|
+
/**
|
|
58
|
+
* Re-render the current chart frame to a fresh offscreen canvas at
|
|
59
|
+
* `cssSize × scale` device px (true supersampling), for crisp
|
|
60
|
+
* snapshots/exports independent of the screen's devicePixelRatio.
|
|
61
|
+
* Returns null when the candle engine isn't the active painter
|
|
62
|
+
* (e.g. tick mode) — blit the live canvas in that case.
|
|
63
|
+
*/
|
|
64
|
+
captureFrame(scale?: number): HTMLCanvasElement | null;
|
|
57
65
|
destroy(): void;
|
|
58
66
|
pause(): void;
|
|
59
67
|
resume(): void;
|