I've read around about customizing tooltips and most information points to using the IRenderLabel interface to create parseable FormatStrings.
I would like to override the tooltip altogether and use say.. a balloon tip with rich text formatting and all the good stuff that comes with it.
Is this possible?
Hello,
You can use the IRenderLabel interface or the Tooltips property to customize tooltips on a chart. For example, the following lines will change the tooltip to Arial, 14pt, red:
Font font = new Font("Arial", 14.0f);ultraChart1.Tooltips.Font = font;ultraChart1.Tooltips.FontColor = Color.Red;
If you need even more customization, like rendering different types of fonts in a single tooltip, this may be a feature request. I am speaking with our developers to see if something like that is possible.
Do you have any further questions regarding this issue?
Hey Mike,
This sounds great. A thought came to mind while trying to solve another unrelated problem. Would it be possible for the "DrawFilter" property to be added to ultra charts? I use it often to retrieve UIElements, which of course have ToolTipItems built into them.
The charts are actually not using the Presentation Layer Framework to draw, so the only UIElement is the chart itself. Please take a look at the following article for some great examples about how to hook into the drawing events of charts: http://community.infragistics.com/blogs/sung_kim/archive/2008/09/05/chart-university-chart-101-and-some-201-301-401-stuff.aspx
You're very welcome. Is there anything further I can help you with?
Thanks Mike! This article is very informative! :)