Toggle navigation
【hlx】开发样产量汇总
By
英凰广场迎黄英
2018-09-12 09:48: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
图表已生成
整理代码
刷新
代码
var custYP=['开发样A', '开发样B', '开发样C', '开发样D', '开发样E', '开发样F', '开发样G', '开发样H', '开发样I', '开发样J']; var custYPValue=[87,80,75,69,63,54,47,40,35,33]; var custColor=[ "#f54d4d", "#f87544", "#ffae00", "#dcff00", "#25d053", "#007cff", "#007cff", "#4245ff", "#c32eff", "#ff62e8", ]; var custData=[]; for (var i = 0; i < custYP.length; i++) { var temp={ value: custYPValue[i], label: { show: true, position: 'insideTop', formatter: '{c}%' }, itemStyle: { normal: { color: custColor[i] } } }; custData.push(temp); } option = { title : { text: '开发样产量汇总', subtext: '', textStyle:{ fontSize:20, color:'#ccc' } }, angleAxis: { interval: 1, type: 'category', data:custYP, z: 10, axisLine: { show: true, lineStyle: { color: "#00c7ff", width: 1, type: "solid" }, }, axisLabel: { interval: 0, show: true, color: "#00c7ff", margin: 8, fontSize: 12 }, }, radiusAxis: { min: 0, max: 100, interval: 20, axisLine: { show: true, lineStyle: { color: "#00c7ff", width: 1, type: "solid" }, }, axisLabel: { formatter: '{value}', show: true, padding: [0, 0, 20, 0], color: "#00c7ff", fontSize: 10 }, splitLine: { lineStyle: { color: "#00c7ff", width: 1, type: "solid" } } }, polar: { center:["50%","55%"] }, series: [{ type: 'bar', center:["50%","55%"], data:custData, coordinateSystem: 'polar' }], };