How to avoid the overflow xaxis legend into container?
My Legend Display code
window.barChart.options.data.forEach(function (label, i) {
var legendItem = $('').text(label['label']).prepend('');
legendItem.find('span').css('backgroundColor', array[i]);
$('#' + legid).append(legendItem);
});
Hi
How to avoid the overflow xaxis legend into container? My Legend Display code window.barChart.options.data.forEach(function (label, i) { var legendItem = $('').text(label['label']).prepend(' '); legendItem.find('span').css('backgroundColor', array[i]); $('#' + legid).append(legendItem); });
Sethu