Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use miloschuman\highcharts\Highcharts;
- echo Highcharts::widget([
- 'scripts' => [
- 'highcharts-more',
- 'modules/exporting',
- 'themes/grid'
- ],
- 'options' => [
- 'chart'=>[
- //'renderTo'=>'chartContainer',
- 'type'=>'column',
- 'width'=>'760',
- ],
- 'title' => ['text' => 'Chart Shift by Month'],
- 'title' => ['text' => 'Chart Shift by Month'],
- 'subtitle'=> ['text'=>'Source WorldClimate.com'],
- 'xAxis' => [
- 'categories' => $chart_x_axis,
- 'crosshair' => FALSE
- ],
- 'yAxis' => [
- 'title' => ['text' => NULL]
- ],
- 'credits' => ['enabled' => FALSE],
- 'dataLabels' => [ 'enabled' => TRUE,],
- 'series' => $chart_x_series,
- ]
- ]);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement