Highcharts: Pie chart label overlap

那年仲夏 提交于 2021-01-28 02:47:10

问题


I have this pie chart: http://jsfiddle.net/gXjVY/

And as you can see, the data labels of the charts are overlapping. I tried to define the distance: -1 inside a serie, but it doesn't work. Anybody an idea, how I can define different positions, or distances for the series?


回答1:


You can set for series, not for a point, different distances, see: http://jsfiddle.net/gXjVY/3/

series: [{
    data: [...],
    dataLabels: {
        distance: -30
    }
}]


来源:https://stackoverflow.com/questions/16295279/highcharts-pie-chart-label-overlap

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