Hi , i am using google chart to display combo chart of column and line. How to show data label for each value of column and line and a y axis on the right side for the line chart as well? This is my code:
\koolreport\widgets\google\ComboChart::create(array(
"title"=>$title,
"dataSource"=>$data,
"columns"=>array(
"category",
"value"=>array(
"label"=>"value",
"type"=>"number",
"role"=>'annotation'
),
"avg"=>array(
"label"=>"Avg",
"type"=>"number",
"chartType"=>"line",
),
),
"options"=>array(
"plugins" => [
"datalabels" => $this->dataLabelsOptions // e.g: [ "color" => "blue" ]
],
"responsive"=>true,
"maintainAspectRatio"=> false,
"legend"=>array(
"position"=>'bottom'
),
),
));