$chart = new Highchart(Highchart::HIGHSTOCK); $chart->chart->renderTo = "container"; $chart->rangeSelector->selected = 1; $chart->title->text = "AAPL Stock Price"; $chart->scrollbar->enabled = false; $chart->series[] = array( 'name' => "AAPL Stock Price", 'data' => new HighchartJsExpr("data"), 'tooltip' => array( 'valueDecimals' => 2 ) );