new module:ct-chart /service /Stream Link Chart Service()
This is the default implementation for the caplin.chart-service
service.
- Implements:
Methods
discard(series Request, listener)
Discards the chart data for the given request and listener.
Parameters:
Name | Type | Description |
---|---|---|
seriesRequest |
module:ct-chart |
The series request object. |
listener |
Object | The subscription event listener. |
- Implements:
retrieve(series Request, listener)
Retrieves data based upon the provided request object.
Parameters:
Name | Type | Description |
---|---|---|
seriesRequest |
module:ct-chart |
The series request object. |
listener |
module:ct-chart |
The subscription event listener. |
- Implements:
Throws:
-
If seriesRequest was already used to retrieve the chart data.
- Type
-
module:ct-core
/Error