DevExpress - DevExtreme Chart Label overlapped

半城伤御伤魂 提交于 2019-12-11 01:14:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!