Hi , I am using google chart to display data and the height seems to be shrunk and not taking the full height unless i do a resize.
This is my code:
print('<div class = "col-lg-4 col-md-4 col-sm-12">
<div class="card">');
\koolreport\widgets\google\ComboChart::create(array(
"title"=>$title,
"name"=>$id_array[$opt-1],
"dataSource"=>$data,
"colorScheme"=>$color_scheme,
"columns"=>array(
"category",
"value"=>array(
"label"=>$text_label[$opt]['first'],
"type"=>"number",
),
"avg"=>array(
"label"=>$text_label[$opt]['second'],
"type"=>"number",
"chartType"=>"line",
"annotation"=>function($row)
{
return $row["avg"];
}
),
),
"options"=>array(
"series"=> array(
0=> array("targetAxisIndex"=> 0),
1=> array("targetAxisIndex"=> 1),
),
"vAxes"=>array(
0=> array("title"=> $text_label[$opt]['first'],"gridlines"=>["color"=>"none"]),
1=> array("title"=> $text_label[$opt]['second'],"gridlines"=>["color"=>"none"],"format"=> $text_second_axis)
),
"responsive"=>true,
"maintainAspectRatio"=> false,
"legend"=>array(
"position"=>'bottom'
),
),
));
print("</div></div>");
What should i change?