Search results

AreaSeries API in Vue Chart API component

AreaSeries module is used to render the area series.

Methods

applySegmentAxis

Segment calculation performed here.

Parameter Type Description
series Series series
options PathOption[] options
segments ChartSegmentModel[] chartSegments

Returns void

createClipRect

To create clip rect for segment axis.

Parameter Type Description
startValue number startValue
endValue number endValue
series Series series
index number index
isX boolean isX

Returns string

doAnimation

Animates the series.

Parameter Type Description
series Series Defines the series to animate.

Returns void

getAreaEmptyDirection

To Generate the empty point direction.

Parameter Type Description
firstPoint ChartLocation firstPoint
secondPoint ChartLocation secondPoint
series Series series
isInverted boolean isInverted
getPointLocation Function getPointLocation

Returns string

getAreaPathDirection

To Generate the area path direction.

Parameter Type Description
xValue number xValue
yValue number yValue
series Series series
isInverted boolean isInverted
getPointLocation Function getPointLocation
startPoint ChartLocation startPoint
startPath string startPath

Returns string

getAxisValue

To get exact value from segment value.

Parameter Type Description
segmentValue Object segmentValue
axis Axis axis
chart Chart chart

Returns number

getBorderDirection

To Generate the area series border path direction from area series main direction path. @param {string} direction direction

Returns string

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

removeEmptyPointsBorder

To remove empty point directions from series direction of area types. @param {string} borderDirection direction

Returns string

setPointColor

To set point color.

Returns boolean

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