Interface
caplin.chart.study

Adapter

The class is still in Beta and is subject to API changes.
This interface must be implemented by an adapter that is to transform study data from Caplin Platform format to chart format.

To use a study adapter you pass it to caplin.chart.Series#addStudy and the Series will use it to transform the study data before passing it onto the chart.

Constructor Summary

Attributes Name and Description
caplin.chart.study.Adapter()

Method Summary

Attributes Name and Description
<static> Array transform(Array pPoints)

Receives study data in Caplin format and returns the same data in a format that the chart will understand.

Constructor Detail

caplin.chart.study.Adapter()

Method Detail

<static> Array transform(Array pPoints)

Receives study data in Caplin format and returns the same data in a format that the chart will understand.

Parameters
Array pPoints The study data in Caplin Platform format
Returns
{Array} The transformed study data