ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Reg: providing styles in tooltip.
Posted by Hari on Jan-28-2011 12:56
Is there any way to provide styles like bold and next line(<br>) in tooltip for staked bar
chart.

Thanks,
Hari

  Re: Reg: providing styles in tooltip.
Posted by Peter Kwan on Jan-28-2011 16:46
Hi Hari,

If you are writing a web application and are referring to "standard tooltips", then according to HTML standard, you cannot provide styles for the tooltips. Please refer to HTML documentation for details.

If you want to provide style for tooltips, 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).

These custom tooltips may require attach to Javascript mouse events. Please refer to the Javasacript Clickable Chart on an example of how to add Javascript event handlers to the image map.

Hope this can help.

Regards
Peter Kwan

  Re: Reg: providing styles in tooltip.
Posted by Hari on Jan-28-2011 17:13
Thanks peter let me try and get back to you.