caplin.chart-data-adapter
.
If you are getting chart data from a backend other than Caplin Liberator
you must provide an implementation of the adapter that will transform the data
into a Caplin format that caplin.chart.Series understands.
To make the caplin.chart.Series use your adapter register it
under the caplin.chart-data-adapter
alias in your application's
aliases.xml
file.
Attributes | Name and Description |
---|---|
|
caplin.chart.data.Adapter()
|
Attributes | Name and Description |
---|---|
|
Array
transform(Array pPoints)
Receives chart series data in a custom format and returns the same data in a Caplin Platform format. |
►
caplin.chart.data.Adapter()
►
Array
transform(Array pPoints)
Receives chart series data in a custom format and returns the same data in a Caplin Platform format.
Array | pPoints | The chart series data. |