Reputation: 1145
I am adding custom chart labels using setResultTableFormatter
line[key].setResultTableFormatter((builder, series, xValue, yValue) => {
return builder
.addRow(name)
.addRow(yValue.toFixed(2))
.addRow(timedata[xValue.toFixed(0)])
});
This is working fine in Dashboards with 4 charts.But if there is 6 charts in dashboard..Label is hiding to the right side , If i place cursor to right side of the page.PLease check below example.
Upvotes: 0
Views: 107
Reputation: 2582
Please use chart.setPadding to add padding on the problematic sides
chart.setPadding({ right: 60 })
Upvotes: 1