BUG with Arabic tooltip
hi
i see one bug with arabic or other right to left languages.this bug in tooltip that has a new break line (<br /> tag). my code same this:
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container' , defaultSeriesType: 'bar'
},
credits: {
enabled: false
},
legend: { enabled: true },
plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 } },
title: {"text":"سعید محمدهاشم"},
subtitle: {"text":"سعید تست میکند"},
xAxis: {"title":null,"align":null,"categories":["سعید","حمید","امیر","مهدی","حسین"]}, yAxis: {"title":{"text":"سعید"},"align":null,"categories":null}, tooltip: { formatter: function() { return '<b>'+this.series.name +'</b><br />'+ this.x +':'+ this.y; } }, series: [{"name":"حقوق","data":[4,15,5,17,14],"color":null},{"name":"مزایا","data":[4,25,6,12,6],"color":null},{"name":"مرخصی","data":[7,19,2,34,5],"color":null},{"name":"پاداش","data":[3,14,6,21,9],"color":null}] });
10
votes
saeid mohammad hashem
shared this idea