Attributes | Name and Description |
---|---|
|
caplin.chart.highchart.SeriesUtility(Object highChartSeries)
Constructs a new |
Attributes | Name and Description |
---|---|
|
void
addTicks(Array ticks, Function completionCallback)
Adds ticks to a HighChart series. |
|
Object|null
getPointByTimestamp(Number timestamp)
Finds a HighChart point object based on the timestamp. |
|
void
setPointValue(Object tick)
Adds a new point to a series or updates an existing one if it is already present on the series. |
►
caplin.chart.highchart.SeriesUtility(Object highChartSeries)
Constructs a new caplin.chart.highchart.SeriesUtility
.
Object | highChartSeries | A HighChart series object. |
►
void
addTicks(Array ticks, Function completionCallback)
Adds ticks to a HighChart series. Note that you have to redraw the chart after calling this method if you want the chart to display new data.
Array | ticks | An array of ticks in the Caplin chart format. |
Function | completionCallback | A function that runs once the ticks have been processed. |
►
Object|null
getPointByTimestamp(Number timestamp)
Finds a HighChart point object based on the timestamp.
Number | timestamp | The timestamp to searh for. |
►
void
setPointValue(Object tick)
Adds a new point to a series or updates an existing one if it is already present on the series. Note that you have to redraw the chart after calling this method if you want the chart to display new data.
Object | tick | A series tick in the Caplin chart format. |