Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1405
Completely overriding Tooltips?
posted

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?

  • 12480
    Offline posted

    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.