Toggle navigation
颗粒级配
By
弹***础
2020-08-18 05:39:05
脚本
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 = { title: { text: '颗粒级配', textStyle: { fontSize: 25, }, left:'center', top:100 }, legend: { data:['上包络线','下包络线'], left:120, top:150 }, xAxis: { //x轴线坐标 show:true, type:'log', inverse:true, name: "粒径/mm", nameLocation: "middle", nameTextStyle: { color: "rgba(0, 0, 0, 1)", //标题的颜色 fontStyle: "normal", fontWeight: 'bold', fontFamily: "Arial", fontSize: 20, lineHeight:50, }, axisLine: { //不显示x轴线 show: false, }, axisTick: { //不显示主刻度线 show: false, interval: 1, inside: true, length: 30, }, minorTick: { //不显示次级刻度线 show: false, splitNumber: 5, length: 30, lineStyle: { color: "rgba(215, 32, 32, 1)", width: 5, type: "dashed", } }, axisLabel: { //刻度线的标注 show: true, interval: 5, inside: false, margin: 10, fontSize: 18, }, splitLine: { //主网格线 show: true, interval: 'auto', lineStyle: { color: "rgba(0, 0, 0, 0.3)", type:'solid', width:2, }, }, minorSplitLine: { //次网格线 show: true, interval: 'auto', lineStyle: { color: "rgba(0, 0, 0, 0.1)", type:'solid', width:1, }, }, min:'0.1', //x轴最小值 max:'1000', //x轴最大值 }, yAxis: { show:true, type:'value', inverse:false, name: "小于某粒径之百分数%", nameLocation: "middle", nameTextStyle: { color: "rgba(0, 0, 0, 1)", //标题的颜色 fontStyle: "normal", fontWeight: "bold", fontFamily: "Arial", fontSize: 20, lineHeight:80, }, axisLine: { show: false, }, axisTick: { show: false, interval: 1, inside: true, length: 30, }, minorTick: { show: false, splitNumber: 2, length: 30, lineStyle: { color: "rgba(215, 32, 32, 1)", width: 5, type: "dashed", }, }, axisLabel: { show: true, interval: 5, inside: false, margin: 10, fontSize: 18, }, splitLine: { show: true, interval: 'auto', lineStyle: { color: "rgba(0,0, 0, 0.1)", type:'solid', width:1, }, }, minorSplitLine: { show: true, interval: 'auto', lineStyle: { color: "rgba(0,0, 0, 0.1)", type:'solid', width:2, }, }, min:0, max:100, interval:10, }, grid: { show: true, top:'middle', left:'center', width:800, height:400, backgroundColor: "rgba(255, 255, 255, 1)", borderColor:"rgba(0, 0, 0, 0.8)", borderWidth: 2 }, series: [ { name:'上包络线', data: [[400,100], [200,82], [100,65],[80,60],[60,53],[40,45],[20,32],[10,23],[5,15]], type: 'line', smooth: true, symbol: "none", lineStyle: { color: "rgba(191, 59, 59, 1)", width:2, shadowBlur: 3, shadowColor: "rgba(184, 34, 34, 1)" } }, { name:'下包络线', data: [[600,100], [400,80], [200,57],[100,42],[80,40],[60,35],[40,30],[20,23],[10,17]], type: 'line', smooth: true, symbol: "none", lineStyle: { color: "rgba(0,0, 0, 1)", width:2, shadowBlur: 3, shadowColor: "rgba(0, 0, 0, 1)" } }, ] };