|
How to set tool tip color, size and bold |
Posted by Cristhian Heck on Jan-28-2011 12:56 |
|
Hi guys! I'm started to use chart director a short time ago, and I need to change de font size, color and set bold the tool tip of a value on the chart.
Actually my code for tool tip is this:
WebChartViewer1.ImageMap = c.getHTMLImageMap(WebChartViewer1.GetPostBackURL(), "", showtext + hidetext + "title='{value}'");
How can I do that?
Thanks
(ps: sorry about my english) |
Re: How to set tool tip color, size and bold |
Posted by Peter Kwan on Jan-28-2011 16:55 |
|
Hi Cristhian,
If you are referring to "standard tooltips" (that is created with the HTML title attribute), then according to HTML standard, you cannot specify the styles for the tooltips. Please refer to HTML documentation for details.
If you want to specify the tooltip style, you would need to create your own tooltip box by using HTML/Javascript pop up boxes instead of standard HTML tooltips. There are also a lot of these custom tooltip box implementations in the web. You may try them instead of writing your own. (Eg. try google for "overlib", a common enhanced tooltip implementation).
Hope this can help.
Regards
Peter Kwan |
|