Adding tooltip to php chart director
- by Shenoy Tinny
I am using php chartdirector to generate some charts for my PHP page. We can add tool tip to the chart by setting the title attribute
# Create an image map for the chart
$imageMap = $c->getHTMLImageMap("clickline.php", "",
"title='{xLabel}: US\$ {value|0}M'");
How would add a html tag to the title, like
"title='{xLabel} <br/> Click to view more details'"
When I do the above the tag <br/> gets displayed as such without the html rendering.
I would like to have xLabel displayed and on the next line the phrase Click to view moer details
Is there a way to do this
Thanks