Root static functions of Chart Component
Create scrollbar svg.
Returns void
Animate the rect element
Returns void
Method to append child element
Returns void
To append the clip rect element
Returns Element
Method to reset the blazor templates
Returns void
Method to calculate the width and height of the chart
Returns void
To calculate chart title and height
Returns string[]
Method to support the subscript and superscript value to text
Returns string
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](./chartLocation) ](./ [ChartLocation ](./chartLocation))](./ [ [ChartLocation ](./chartLocation)](./ [ ChartLocation](./chartLocation))) |
an array of connected points [{x:, y:}, {x:, y:},…] that form a closed polygon |
b | [ [[ ChartLocation](./chartLocation) ](./ [ChartLocation ](./chartLocation))](./ [ [ChartLocation ](./chartLocation)](./ [ ChartLocation](./chartLocation))) |
an array of connected points [{x:, y:}, {x:, y:},…] that form a closed polygon |
Returns boolean
To check whether the axis is zoomed or not.
Parameter | Type | Description |
---|---|---|
axis | Axis |
Returns boolean
To trim the line break label
Returns string[]
Animation after legend click a path
Returns void
Function to sort the dataSource, by default it sort the data in ascending order.
Returns Object[]
Method to find new text and element size based on textOverflow
Returns string[]
Method to calculate x position of title
Returns number