Hi All,
I am trying to set the line width on a Google chart as follows:
BarChart::create(array(
"dataSource"=>$combined,
"columns"=>array(
"yearGroup" => array("prefix" => "Year "),
"school"=>array("label"=>"Your School","type"=>"number"),
),
"options"=>array(
"legend"=>"none",
"lineWidth"=>1,
"hAxis"=>array("minValue"=>0, "maxValue"=>100),
"colors"=>array("#acda84")
)
));
Everything works and the chart displays, but the lineWidth setting does not work. As far as I can see it matches the Google Charts documentation (https://developers.google.com/chart/interactive/docs/lines).
Can anybody suggest what the issue is please - thanks in advance.