echarts使用指南

来源:互联网 发布:淘宝子账号手机登录 编辑:程序博客网 时间:2024/05/21 22:00

1 饼图

option = {    series: [        {            name:'访问来源',            type:'pie',            radius: [50, 80],  \\定义圆的内外径 形成环形图            avoidLabelOverlap: false,            label: {                normal: {                    show: true,                    position: 'center'                },                emphasis: {                    show: false,                    textStyle: {                        fontSize: '30',                        fontWeight: 'bold'                    }                }            },            labelLine: {                normal: {                    show: false                }            },            data:[                {name:'2350\n 16%'},            ]        }    ]};
0 0
原创粉丝点击