Interface
caplin.chart.study

Adapter

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 points)

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 points)

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

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