I want to show some information in Farsi language on highchart tooltip. It works ok but the text align is not right.
As Persian language is a rtl language, I need to change text alignment so it starts from right. How can I do this?
dont forget use:(useHTML: true,)
tooltip: {
useHTML: true,
formatter: function() {
return '<div lang="fa" dir="rtl"> ' +
this.x + ' : ' + this.y +
'</div>';
}
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With