Toggle navigation
多轴线分割判断
By
因***凡
2020-08-07 06:08:47
脚本
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 = { "grid": { "left": "5%", "right": "10%", "bottom": "1%", "top": "1%", "containLabel": true }, "xAxis": [ { "type": "value", "min": 0, "max": 100, "axisLabel": { "textStyle": { "fontSize": 14, "color": "#999" } }, "axisLine": { "lineStyle": { "color": "#c8c8c9" } }, "axisTick": { "show": false }, "gridIndex": 0 } ], "yAxis": [ { "type": "category", "data": [ "视觉疲劳", "情感应对", "脑力活动", "情绪波动大", "内心抵触", "紧迫", "强迫性回忆", "心理适应中", "心理适应高", "发呆", "思考" ], "show": false, "axisLabel": { "fontSize": 4 }, "axisLine": { "lineStyle": { "color": "#ffffff" } }, "axisTick": { "show": false } }, { "type": "category", "position": "left", "axisLine": { "lineStyle": { "color": "translate" } } }, { "type": "value", "position": "left", "axisLine": { "show": false }, "axisTick": { "show": false }, "axisLabel": { "show": false }, "splitLine": { "show": false }, "min": 0, "max": 100 } ], "series": [ { "data": [ 29, 26, 27, 25, 20, 100, 20, 30, 30, 30, 20 ], "type": "bar", "itemStyle": { "color": "#9ce4d8" }, "yAxisIndex": 0, "zlevel": 999, "label": { "show": true, "position": [ "20%", "40%" ], "formatter": " {b} {c}%", "color": "gray" } }, { "data": [ { "name": "认知", "value": 100 } ], "label": { "show": true, "position": "left", "formatter": "{b}", "color": "#777" }, "type": "bar", "barGap": 0, "barWidth": "18.181818181818183%", "itemStyle": { "color": "rgba(210,253,246,0.3)" }, "yAxisIndex": 1 }, { "data": [ { "name": "应对", "value": 100 } ], "label": { "show": true, "position": "left", "formatter": "{b}", "textStyle": { "color": "#777" } }, "type": "bar", "barGap": 0, "barWidth": "27.272727272727273%", "itemStyle": { "normal": { "color": "rgba(210,253,246,0.3)" } }, "yAxisIndex": 1 }, { "data": [ { "name": "情绪", "value": 100 } ], "label": { "show": true, "position": "left", "formatter": "{b}", "textStyle": { "color": "#777" } }, "type": "bar", "barGap": 0, "barWidth": "27.272727272727273%", "itemStyle": { "normal": { "color": "rgba(210,253,246,0.3)" } }, "yAxisIndex": 1 }, { "data": [ { "name": "应激", "value": 100 } ], "label": { "show": true, "position": "left", "formatter": "{b}", "textStyle": { "color": "#777" } }, "type": "bar", "barGap": 0, "barWidth": "18.181818181818183%", "itemStyle": { "normal": { "color": "red" } }, "yAxisIndex": 1 }, { "data": [ { "name": "疲劳", "value": 100 } ], "label": { "show": true, "position": "left", "formatter": "{b}", "textStyle": { "color": "#777" } }, "type": "bar", "barGap": 0, "barWidth": "9.090909090909092%", "itemStyle": { "normal": { "color": "rgba(210,253,246,0.3)" } }, "yAxisIndex": 1 }, { "data": [], "type": "bar", "lineStyle": { "show": false }, "yAxisIndex": 2, "markLine": { "silent": true, "symbol": "none", "data": [ { "name": "", "yAxis": 9.090909090909092, "lineStyle": { "opacity": 1, "color": "#9feadd", "type": "solid" }, "label": { "position": "end", "show": false } } ] } }, { "data": [], "type": "bar", "lineStyle": { "show": false }, "yAxisIndex": 2, "markLine": { "silent": true, "symbol": "none", "data": [ { "name": "", "yAxis": 27.272727272727273, "lineStyle": { "opacity": 1, "color": "#9feadd", "type": "solid" }, "label": { "position": "end", "show": false } } ] } }, { "data": [], "type": "bar", "lineStyle": { "show": false }, "yAxisIndex": 2, "markLine": { "silent": true, "symbol": "none", "data": [ { "name": "", "yAxis": 54.54545454545455, "lineStyle": { "opacity": 1, "color": "#9feadd", "type": "solid" }, "label": { "position": "end", "show": false } } ] } }, { "data": [], "type": "bar", "lineStyle": { "show": false }, "yAxisIndex": 2, "markLine": { "silent": true, "symbol": "none", "data": [ { "name": "", "yAxis": 81.81818181818183, "lineStyle": { "opacity": 1, "color": "#9feadd", "type": "solid" }, "label": { "position": "end", "show": false } } ] } } ] }