OHLC, HLC, Candlestick/Stock Charts

OHLC, HLC and Candlestick charts all requires plugin::OHLCRenderer renderer plugin, then simply set the candleStick property to true in rendererOptions.

1
2
3
$pc->add_series(array(
        'renderer'=>'plugin::OHLCRenderer',
        'rendererOptions'=>array('candleStick'=>true)));

Live demo

No related content found.

Tags: , , ,

Top