We are going to deploy the new yiiframework.com website on March 23, 2018 from 8:00 to 12:00 UTC.
Website and Yii documentation will not be available in this time frame. Check the news for more details.

Yii 1.1: highstock

Highstock widget

Highstock lets you create stock or general timeline charts in pure JavaScript, including sophisticated navigation options like a small navigator series, preset date ranges, date picker, scrolling and panning.


  • Yii 1.0 or above
  • PHP 5.1 or above


To use this widget, you may insert the following code in a view:

$this->Widget('ext.highstock.HighstockWidget', array(
    'title'=>array('text'=>'USD to EUR exchange rate'),
    'xAxis'=>array('maxZoom'=>14 * 24 * 3600000 ),
    'yAxis'=>array('title'=>array('text'=>'Exchange rate')),
    'series'=>array(array('name'=>'USD to EUR','data'=>'js:usdeur')),
var usdeur = [


Be the first person to leave a comment

Please to leave your comment.

Create extension