Search results

CircularChart3DGraphics API in React Circularchart3d API component

Represents a 3D graphics rendering utility for drawing and managing 3D elements in a chart.

Methods

draw3DElement

Draws a 3D element based on the specified Binary Space Partitioning Node.

Parameter Type Description
bspElement CircularChart3DBspNode The Binary Space Partitioning Node representing the 3D element.
chart CircularChart3D The instance of the circular 3D chart.

Returns void

drawNode3D

Draws the 3D nodes starting from the root based on the eye vector.

Parameter Type Description
bspElement CircularChart3DBspNode The root Binary Space Partitioning Node.
eyeVector CircularChart3DVector The eye vector.
panel Element The panel element to render the view on.
chart CircularChart3D The instance of the circular 3D chart.

Returns void

prepareView

Prepares the view for rendering based on specified parameters.

Parameter Type Description
perspectiveAngle number The perspective angle.
depth number The depth of the view.
rotation number The rotation angle.
tilt number The tilt angle.
size Size The size of the viewing area.
chart CircularChart3D The instance of the circular 3D chart.

Returns void

view

Renders the 3D view on the specified panel element.

Parameter Type Description
panel (optional) Element The panel element to render the view on.
chart (optional) CircularChart3D The instance of the circular 3D chart.
rotation (optional) number The rotation angle.
tilt (optional) number The tilt angle.
size (optional) Size The size of the viewing area.
perspectiveAngle (optional) number The perspective angle.
depth (optional) number The depth of the view.

Returns void