Search results

MomentumIndicator API in JavaScript (ES5) Chart API control

MomentumIndicator module is used to render Momentum indicator.

Methods

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

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