高图:饼图标签重叠 [英] Highcharts: Pie chart label overlap

查看:57
本文介绍了高图:饼图标签重叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有此饼图: http://jsfiddle.net/gXjVY/

如您所见,图表的数据标签是重叠的.我试图在一个意甲中定义 distance:-1 ,但这是行不通的.有人知道我如何定义系列的不同位置或距离吗?

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?

推荐答案

您可以为系列而不是点设置不同的距离,请参见:

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

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

这篇关于高图:饼图标签重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆