fe: fix width of legend = 140px
@@ -139,7 +139,7 @@ function renderSlotsCharts(slots_array) {
if (g == 0) {
xaxis = 0;
}
- var s = {name: 'Group-' + padInt2Str(g, groups.length < 10 ? 1 : 2) + ':' + (counts[g] == undefined ? 0 : counts[g]), data: [], group_id: g};
+ var s = {name: 'Group-' + g + ':' + (counts[g] == undefined ? 0 : counts[g]), data: [], group_id: g};
for (var beg = 0, end = 0; end <= n; end++) {
if (end == n || slots_array[end].group_id != g) {
if (beg < end) {
@@ -192,7 +192,8 @@ function renderSlotsCharts(slots_array) {
},
},
legend: {
- enabled: true
+ enabled: true,
+ itemWidth: 140,
},
plotOptions: {
columnrange: {
