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. Throws:
-
If seriesRequest was already used to retrieve the chart data.
-