如何隐藏饼图中的高层图标中的标签 [英] How to hide labels in the highcharts in the pie

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

问题描述

无法弄清楚如何隐藏饼图标签。

Can't figure out how to hide the pie labels.

我已经试过这些设置:

I've already tried these settings:

                xAxis: {
                    labels:
                    {
                        enabled: false
                    }
                },
                yAxis: {
                    min: 0,
                    gridLineWidth: 0,
                    title: {
                        text: ''
                    },
                    labels:
                    {
                        enabled: false
                    }
                },

但看起来不起作用。

推荐答案

plotOptions: {
    pie: {
        allowPointSelect: true,
        cursor: 'pointer',
            dataLabels: {
                enabled: false,
            }
        }
    }
}

FIDDLE

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

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