Static Functions
12 Sep 20255 minutes to read
Root static functions of Circular3d Component
getCircular3DSeriesColor
Gets an array of series colors for circular 3D chart visualization.
| Parameter | Type | Description |
|---|---|---|
| theme | Circular3DTheme |
The theme for which to retrieve the series colors. |
Returns string[]
getCircular3DThemeColor
Gets the theme color for circular 3D chart visualization.
| Parameter | Type | Description |
|---|---|---|
| theme | Circular3DTheme |
The theme for which to retrieve the color. |
Returns Circular3DThemeStyle
createScrollSvg
Create scrollbar svg.
Returns void
animateRectElement
Animate the rect element.
Returns void
appendChildElement
Method to append child element.
Returns void
appendClipElement
To append the clip rect element.
| Parameter | Type | Description |
|---|---|---|
| redraw | boolean |
chart redraw value |
| options | BaseAttibutes |
element options |
| renderer | SvgRenderer |
svg renderer values |
| clipPath | string |
clipPath of the element |
Returns Element
blazorTemplatesReset
Method to reset the blazor templates.
Returns void
calculateSize
Method to calculate the width and height of the chart.
Returns void
createSvg
To create svg element.
| Parameter | Type | Description |
|---|---|---|
| chart |
Chart | AccumulationChart | RangeNavigator | Chart3D | Circular3D
|
chart instance |
Returns void
getTitle
To calculate chart title and height.
Returns string[]
getUnicodeText
Method to support the subscript and superscript value to text.
Returns string
isRotatedRectIntersect
Helper function to determine whether there is an intersection between the two polygons described
by the lists of vertices. Uses the Separating Axis Theorem
| Parameter | Type | Description |
|---|---|---|
| a | ChartLocation[] |
an array of connected points [{x:, y:}, {x:, y:},…] that form a closed polygon |
| b | ChartLocation[] |
an array of connected points [{x:, y:}, {x:, y:},…] that form a closed polygon |
Returns boolean
isZoomSet
To check whether the axis is zoomed or not.
| Parameter | Type | Description |
|---|---|---|
| axis | Axis |
axis model |
Returns boolean
pathAnimation
Animation after legend click a path.
| Parameter | Type | Description |
|---|---|---|
| element | Element |
element to be animated |
| direction | string |
current direction of the path |
| redraw | boolean |
chart redraw |
| previousDirection (optional) | string |
previous direction of the path |
| animateDuration (optional) | number |
animateDuration of the path |
Returns void
sort
Function to sort the dataSource, by default it sort the data in ascending order.
| Parameter | Type | Description |
|---|---|---|
| data | Object[] |
chart data |
| fields | string[] |
date fields |
| isDescending (optional) | boolean |
boolean values of descending |
Returns Object[]
textWrap
Method to find new text and element size based on textOverflow.
Returns string[]
textWrapAnyWhere
Method to find new text and element size based on textWrap.
Returns string[]
titlePositionX
Method to calculate x position of title.
Returns number