D. Ferragamo
D. Ferragamo

Reputation: 95

Tooltip text alignment in Highcharts for 'direction: rtl'

When I set direction: rtl; to the body I get this bug in Highcharts:

enter image description here

When direction is ltr then it is ok:

enter image description here

I made all the changes related to this fiddle http://jsfiddle.net/highcharts/buYCZ/ from documentation, and the only problem is that text is not aligned properly in tooltip.

Also I tried to resolve it with css hacks, but it isn't working at all. Or I am supposed to write a custom formatter function for that?

//UPDATED: Fiddle with the error: http://jsfiddle.net/7cHth/1/

Upvotes: 6

Views: 5971

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You need to set useHTML as true for the toolitp, in your chart

http://jsfiddle.net/7cHth/2/

Upvotes: 13

Related Questions