$chart = new Highchart(); $chart->includeExtraScripts(); $chart->chart->type = "arearange"; $chart->chart->zoomType = "x"; $chart->title->text = "Temperature variation by day"; $chart->xAxis->type = "datetime"; $chart->yAxis->title->text = null; $chart->tooltip = array( 'crosshairs' => true, 'shared' => true, 'valueSuffix' => 'ÂșC' ); $chart->legend->enabled = false; $chart->series[] = array( 'name' => 'Temperatures', 'data' => new HighchartJsExpr('data') );