Search results

Legend3D API in Vue Chart3d API component

The Legend module is used to render legend for the chart.

Methods

get3DLegendBounds

Calculates and retrieves the legend bounds within the available size for the provided legend settings.

Parameter Type Description
availableSize Size The available size for positioning the legend.
legendBounds Rect The initial bounds of the legend.
legend Chart3DLegendSettingsModel The customization option for the legend.

Returns void

getLegendOptions

Retrieves and returns legend options for the visible series within a 3D chart.

Parameter Type Description
visibleSeriesCollection Chart3DSeries[] The collection of visible series to extract legend options from.
chart Chart3D The 3D chart containing the series and legend.

Returns void