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