Search results

MultiColoredSeries API in JavaScript Chart API control

Base class for multi colored 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

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

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

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