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
395
Can I change ultrachart tooltips text alignment ?
posted

Hi,

I'm using Infragistics 8.1 ultrawinchart.

In my chart I set a multilined text (simply a text containing \n ) to a tooltip label , and it's rendered with center-aligned text. Is it possible to change the text alignment ?

 

Thx in advance

 

PS

sorry for my bad english

Parents
  • 7305
    posted

    I believe you can use html elemets with an existing string you use for the Tooltip such as:

    stringValue.Append("<h1 align='center'>");
    stringValue.Append("Name: ");

    stringValue.Append(DR["Name"]);
    stringValue.Append("</h1>");

Reply Children