Код: Выделить всё
if (Yii::app()->request->isAjaxRequest) {
Yii::app()->clientScript->scriptMap['jquery-1.8.3.js'] = false;
$dataView[] = $this->renderPartial('_view', array(
'data' => $result,
), false, true);
echo CJSON::encode($dataView);
}
Код: Выделить всё
$this->widget(
'bootstrap.widgets.TbHighCharts',
array(
'options' => array(
'series' => array(
[
'data' => [1, 2, 3, 4, 5, 1, 2, 1, 4, 3, 1, 5]
]
)
)
)
);