Chart components should have a map to keep track of the series they are displaying.
Attributes | Name and Description |
---|---|
|
caplin.chart.series.Listener()
|
Attributes | Name and Description |
---|---|
|
void
onSeriesData( sSeriesId, pData, bReset)
Notification method called by caplin.chart.Series when new series data is available. |
|
void
onSeriesError( sSeriesId, sError)
Notification method called by caplin.chart.Series when a subscription error occurs. |
|
void
onSeriesStatusUpdate( sSeriesId, sStatus)
Notification method called by caplin.chart.Series on subscription status change. |
►
caplin.chart.series.Listener()
►
void
onSeriesData( sSeriesId, pData, bReset)
Notification method called by caplin.chart.Series when new series data is available.
sSeriesId | {String} The series ID of the new data. | |
pData | {Array} Chart series data. | |
bReset | {Boolean} A boolean indicating whether the chart should remove existing data and add it again. |
►
void
onSeriesError( sSeriesId, sError)
Notification method called by caplin.chart.Series when a subscription error occurs.
sSeriesId | {String} The series ID on which an error occurred. | |
sError | {String} A string description of the error. |
►
void
onSeriesStatusUpdate( sSeriesId, sStatus)
Notification method called by caplin.chart.Series on subscription status change.
sSeriesId | {String} The series ID on which a status updated. | |
sStatus | {String} A string description of the status. |