Search results

CircularChartSelection3D API in Vue Circularchart3d API component

The CircularChart3DSelection module handles the selection for circular 3D chart.

Methods

calculateSelectedElements

Calculates and processes selected elements based on the specified circular 3D chart instance, target element, and event type.

Parameter Type Description
circular3D CircularChart3D The circular 3D chart instance to be used in the selection calculation.
targetElement Element The target element involved in the selection calculation.
eventType string The type of event triggering the selection calculation (e.g., ‘click’).

Returns void

checkSelectionElements

Checks for selection elements based on the specified style class name, visibility, and other parameters.

Returns void

getElementByIndex

Gets series point elements based on the specified series and point index.

Parameter Type Description
index Index Specifies the index of the series.

Returns Element[]

getModuleName

Gets the module name for circular 3D chart selection.

Returns string

invokeSelection

Invoke selection by creating selection style for rendered chart.

Parameter Type Description
circular3D CircularChart3D The instance of the circular 3D chart.

Returns void

legendSelection

Handles legend item selection in the specified circular 3D chart based on the target element and event type.

Parameter Type Description
chart CircularChart3D The circular 3D chart instance where legend item selection is being processed.
targetElement Element The target element associated with the legend item.
eventType string The type of event triggering the legend item selection (e.g., ‘mouse move’).

Returns void

mouseClick

Handles mouse click events on the specified circular 3D instance instance.

Parameter Type Description
circular3D CircularChart3D The circular 3D instance where the mouse click event occurred.
event Event The mouse click event triggering the action.

Returns void

mouseMove

Handles the mouse move event in the context of the circular 3D chart.

Parameter Type Description
event PointerEvent | TouchEvent The pointer or touch event triggering the mouse move action.

Returns void

pattern

To create the pattern for series/points.

Returns string

redrawSelection

Redraws the selection in the specified circular 3D chart instance based on the selected data indexes.

Parameter Type Description
circular3D CircularChart3D The circular 3D chart instance where the selection is to be redrawn.

Returns void

removeSelection

Handles the removal of selection style class from the selected point in the circular 3D chart.

Parameter Type Description
chart CircularChart3D The 3D chart instance where the selection needs to be removed.
series number The index of the series for which the selection is being removed.
selectedElements NodeListOf The HTML elements representing the selected items.
seriesStyle string The style to be applied to the series after the removal of selection.
isBlurEffectNeeded boolean A flag indicating whether a blur effect is needed after the removal of selection.
index (optional) Index The index representing the specific data point for which selection is being removed (optional).

Returns void

removeStyles

Removes styles associated with the selection from the selected elements.

Parameter Type Description
elements Element[] An array of chart elements from which selection styles should be removed.

Returns void