问题
I'm using the DevExtreme charts. There's an option resolveLabelOverlapping, when set to shift
for piechart will solve my problem, but no shift
for bubble chart.
Is there any solution to let the contents on the labels visible?
Label overlapped bubble chart
回答1:
You can try the "customizeLabel" callback function for solving your problem. If you set required "verticalOffset" option for overlapped label you can get the good view for your chart:
customizeLabel: function (arg){
if (arg.valueText === "Instagram") {
return {
verticalOffset: -60
}
}
}
来源:https://stackoverflow.com/questions/34606858/devexpress-devextreme-chart-label-overlapped