Adding tooltip to php chart director

Posted by Shenoy Tinny on Stack Overflow See other posts from Stack Overflow or by Shenoy Tinny
Published on 2012-12-09T16:44:17Z Indexed on 2012/12/09 17:03 UTC
Read the original article Hit count: 382

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about charts