Search results

RadarSeries API in React Chart API component

RadarSeries module is used to render the radar series.

Methods

addAreaPath

Adds a area path to equate the start and end paths.

Parameter Type Description
options PathOption The options for the path.
series Series The series to which the path belongs.
clipRect string The clip rectangle for the path.

Returns void

addPath

Adds a line path to equate the start and end paths.

Parameter Type Description
options PathOption The options for the path.
series Series The series to which the path belongs.
clipRect string The clip rectangle for the path.

Returns void

appendLinePath

Appends a line path to the chart.

Parameter Type Description
options PathOption The options for the path.
series Series The series to which the path belongs.
clipRect string The clipping rectangle for the path.

Returns void

columnDrawTypeRender

Renders the column draw type for the provided series based on the given x-axis and y-axis.

Parameter Type Description
series Series The series for which the column draw type should be rendered.
xAxis Axis The x-axis of the chart.
yAxis Axis The y-axis of the chart.

Returns void

doAnimation

Animates the series.

Parameter Type Description
series Series Defines the series to animate.

Returns void

doLinearAnimation

Performs linear animation for the series based on the provided animation model.

Parameter Type Description
series Series The series to animate.
animation AnimationModel The animation model containing animation details.

Returns void

doPolarRadarAnimation

Performs animation for polar/radar series.

Parameter Type Description
animateElement Element The element to animate.
delay number The delay for animation.
duration number The duration of animation.
series Series The series for which to perform animation.

Returns void

doProgressiveAnimation

Executes progressive animation for the series.

Parameter Type Description
series Series The series for which progressive animation is executed.
option AnimationModel The animation option.

Returns void

getBorderDirection

Gets the border direction based on the provided direction.

Parameter Type Description
direction string The direction string.

Returns string

getFirstLastVisiblePoint

Gets the first and last visible points from a collection of points.

Parameter Type Description
points Points[] Collection of points.

Returns Object

getLineDirection

To generate the line path direction.

Parameter Type Description
firstPoint Points firstPoint
secondPoint Points secondPoint
series Series series
isInverted boolean isInverted
getPointLocation Function getPointLocation
startPoint string startPoint

Returns string

getSeriesPosition

Gets the position of the series.

Parameter Type Description
series Series The series for which to get the position.

Returns void

removeEmptyPointsBorder

Removes the border from the empty points based on the provided border direction.

Parameter Type Description
borderDirection string The border direction.

Returns string

render

Renders the provided radar series on the chart based on the given x-axis, y-axis, and inversion status.

Parameter Type Description
series Series The series to render.
xAxis Axis The x-axis of the chart.
yAxis Axis The y-axis of the chart.
inverted boolean A flag indicating whether the chart is inverted or not.

Returns void

storePointLocation

To store the symbol location and region.

Parameter Type Description
point Points point
series Series series
isInverted boolean isInverted
getLocation Function getLocation

Returns void

triggerEvent

Triggers the point render event for the provided chart, series, and point.

Parameter Type Description
chart Chart The chart instance.
series Series The series to which the point belongs.
point Points The point for which the event should be triggered.

Returns IPointRenderEventArgs

withinYRange

Checks if the y-value of a point falls within the y-axis range.

Parameter Type Description
point Points The point to be checked.
yAxis Axis The y-axis.

Returns boolean