ChartTools

Methods

(static) findLabelToIndex(data, findvalue, label) → {Number}

Source:

According to the label in the data to find a matching record number

Parameters:
Name Type Description
data Object
findvalue Number
label String
Returns:
Type
Number

(static) findNearTimeToIndex(data, findvalue, label, direction) → {Number}

Source:

Find the record number that matches the time. When the direction is forword, it means to start looking from behind.

Parameters:
Name Type Description
data Object
findvalue Number
label String
direction String
Returns:
Type
Number

(static) setFixedLineFlags(info, config)

Source:

Specifically dealing with the time-sharing map and the 5-day map all this data will be smaller than the interface, in this case elementW is generally only one pixel

Parameters:
Name Type Description
info Object
config Object

(static) setMoveLineFlags(info, config)

Source:

In this case spaceX requires a minimum of one pixel

Parameters:
Name Type Description
info Object
config Object