option = {
title : {
text: '南丁格尔玫瑰图',
subtext: '纯属虚构',
x:'center'
},
tooltip : {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} ({d}%)"
},
legend: {
x : 'center',
y : 'bottom',
data:['rose1','rose2','rose3','rose4','rose5','rose6','rose7','rose8']
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {
show: true,
type: ['pie', 'funnel']
},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
series : [
{
name:'半径模式',
type:'pie',
radius : [20, 110],
center : ['25%', '50%'],
roseType : 'radius',
label: {
normal: {<
Echarts 基本报表图形源码
最新推荐文章于 2024-04-27 01:18:11 发布
本文展示了使用Echarts创建的几种图表,包括南丁格尔玫瑰图、饼状图和折线图,详细给出了对应的Echarts配置代码。这些图表可用于数据可视化,直观展示不同数据来源的占比或趋势。
摘要由CSDN通过智能技术生成