Toggle navigation
极坐标柱状图
By
暗***溪
2020-08-13 03:30:16
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
option = { backgroundColor: 'black', angleAxis: { type: "value", min: 0, max: 70, axisLine: { show: false }, axisTick: { show: false }, splitLine: { show: false }, axisLabel: { show: false } }, radiusAxis: { type: "category", data: ["其他", "资源加工工业", "轻纺工业", "机械电子制造业"], z: 100, axisLine: { show: false }, axisTick: { show: false }, axisLabel: { show: true, margin: 6, fontSize: 10, formatter: function(value, index) { var list = [12, 25, 48, 60]; return list[index] + "%"; }, textStyle: { color: "#96F5F6" }, interval: 0 } }, polar: { center: ["51%", "40%"] }, tooltip: { show: true }, series: [ { type: "bar", barWidth: "30%", data: [12], coordinateSystem: "polar", name: "其他", stack: "a", roundCap: true, itemStyle: { color: "#BFA27C", barBorderRadius: 5 }, showBackground: true, backgroundStyle: { color: "#27333F", barBorderRadius: 50 } }, { type: "bar", data: [0, 25, 0, 0], coordinateSystem: "polar", name: "资源加工工业", stack: "a", roundCap: true, itemStyle: { color: "#328CD9" }, showBackground: true, backgroundStyle: { color: "#27333F" } }, { type: "bar", data: [0, 0, 40, 0], coordinateSystem: "polar", name: "轻纺工业", stack: "a", roundCap: true, itemStyle: { color: "#1FB4A7", barBorderRadius: 5 }, showBackground: true, backgroundStyle: { color: "#27333F" } }, { type: "bar", data: [0, 0, 0, 60], coordinateSystem: "polar", name: "机械电子制造业", stack: "a", roundCap: true, itemStyle: { color: "#424CB9", barBorderRadius: 5 }, showBackground: true, backgroundStyle: { color: "#27333F" } } ], legend: { bottom: 6, icon: "circle", itemHeight: 10, show: true, data: ["机械电子制造业", "轻纺工业", "资源加工工业", "其他"], selectedMode: false, textStyle: { color: "#96F5F6", fontSize: 8 } } }