Hello
I'm having trouble when I enable both maxHeight and useHTML for the legend, in layout: vertical.
Is this a known bug? I'm using the latest version, 2.3.3
Using the specified file, but still, when used together "useHTML" and "maxHeight", can not scroll in the legendseba wrote:Try to use our beta release which should fix this issue
http://github.highcharts.com/master/highcharts.src.js
Code: Select all
legend:
{
enabled: true,
layout: 'vertical',
align: 'right',
width: 250,
verticalAlign: 'top',
useHTML: true,
maxHeight: 300,
x: -70, // смещение по х
y: 10,// смещение по у
labelFormatter: function()
{
var kol = "";
for(var k = 0; k < json_result.length; k++)
{
if (json_result[k][1] == this.name)
{
kol = json_result[k][0] + ' - ';
break;
}
}
if (kol == "") kol = all_count + ' - ';
return this.name + '<br/>' + kol + this.y + '%<div style="width: 200px"><hr/></div>';
}
}