I want to customize the tooltip format in tooltip option for columns. Instead of showing the plain text, I want to display HTML text.
`
$totalToolTipFunc = function($row)
{ $col = $row['count(Quotation Number)'];
$total = number_format($row['sum(Quotation Total)']);
return '<b>'.$col.' - $'.$total.'</b>';
};
ColumnChart::create(array(
"title"=>"Quotation Report",
"dataSource"=>$this->dataStore("vqDS"),
"columns"=>array(
"Month",
"sum(Quotation Total)"=>array("label"=>"Total",
"type"=>"number","prefix"=>"$",
"tooltip"=>$totalToolTipFunc),
),
));