Caplin Trader 4.7.1

Class: module:caplin/chart/service/StreamLinkChartService

module:caplin/chart/service/StreamLinkChartService

Constructor

new module:caplin/chart/service/StreamLinkChartService()

This is the default implementation for the caplin.chart-service service.
Implements:

Methods

discard(seriesRequest, listener)

Discards the chart data for the given request and listener.
Parameters:
Name Type Description
seriesRequest module:caplin/chart/series/SeriesRequest The series request object.
listener Object The subscription event listener.
Implements:

retrieve(seriesRequest, listener)

Retrieves data based upon the provided request object.
Parameters:
Name Type Description
seriesRequest module:caplin/chart/series/SeriesRequest The series request object.
listener Object The subscription event listener.
Implements:
Throws:
If seriesRequest was already used to retrieve the chart data.
Type
module:caplin/core/Error