Interface: LwcRenderTarget
Defined in: packages/sdvplot/src/lightweight-charts.ts:241
The drawing target Lightweight Charts hands a primitive's renderer (fancy-canvas' CanvasRenderingTarget2D).
Methods
useMediaCoordinateSpace()
useMediaCoordinateSpace<
T>(f):T
Defined in: packages/sdvplot/src/lightweight-charts.ts:243
Calls f with the 2D context scaled to CSS pixels and the pane's size in them.
Type Parameters
T
T
Parameters
f
(scope) => T
Returns
T