Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/

like image 207
D. Ferragamo Avatar asked May 08 '14 08:05

D. Ferragamo


1 Answers

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

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

like image 145
Sebastian Bochan Avatar answered Sep 22 '22 16:09

Sebastian Bochan