Interface: ChartThree
Escape hatches into three.js (plan §7.2, E8.13). renderer and scene are three.js objects; the members typed by the render package (root, overlay, viewports, subplot) are experimental like that package.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
overlay | readonly | Viewport | Experimental The overlay viewport. |
renderer | readonly | WebGLRenderer | The renderer that draws this chart. With config.sharedRenderer it also draws other charts, and its domElement is not this chart's canvas: use root.canvas. |
root | readonly | RenderRoot | Experimental The render root: render loop, viewports, resources. |
scene | readonly | Scene | The overlay viewport's scene (paper-space, drawn last): add custom objects here. |
viewports | readonly | readonly Viewport[] | Experimental Every viewport, in draw order. |
Methods
subplot()
ts
subplot(id):
| Viewport
| undefined;Experimental
The viewport of a cartesian subplot ('xy', 'x2y2').
Parameters
| Parameter | Type |
|---|---|
id | string |
Returns
| Viewport | undefined