|
|
@@ -0,0 +1,639 @@
|
|
|
+import * as echarts from 'echarts';
|
|
|
+import { BasicColumn } from '/@/components/Table';
|
|
|
+
|
|
|
+export let tableColumnSj: BasicColumn[] = [
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ width: 60,
|
|
|
+ align: 'center',
|
|
|
+ customRender: ({ index }: { index: number }) => `${index + 1}`
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '时间',
|
|
|
+ dataIndex: 'fileName',
|
|
|
+ key: 'fileName',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '1#注氮定向钻孔',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '累计流量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '压力',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '2#注氮定向钻孔',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '累计流量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '压力',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '3#注氮定向钻孔',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '累计流量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '压力',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title: '审批操作',
|
|
|
+ // dataIndex: 'actionSp',
|
|
|
+ // width: 200,
|
|
|
+ // align: 'center',
|
|
|
+ // slots: { customRender: 'actionSp' },
|
|
|
+ // },
|
|
|
+
|
|
|
+]
|
|
|
+
|
|
|
+export let tableColumnHj: BasicColumn[] = [
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ width: 60,
|
|
|
+ align: 'center',
|
|
|
+ customRender: ({ index }: { index: number }) => `${index + 1}`
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '时间',
|
|
|
+ dataIndex: 'fileName',
|
|
|
+ key: 'fileName',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '注气区域 (定向钻场)',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '甲烷浓度(%)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氧气浓度(%)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '温度(℃)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '抽采区域(回风巷)',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '甲烷浓度(%)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氧气浓度(%)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '温度(℃)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '风速(m/s)',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title: '审批操作',
|
|
|
+ // dataIndex: 'actionSp',
|
|
|
+ // width: 200,
|
|
|
+ // align: 'center',
|
|
|
+ // slots: { customRender: 'actionSp' },
|
|
|
+ // },
|
|
|
+
|
|
|
+]
|
|
|
+export let tableColumnCc: BasicColumn[] = [
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ width: 60,
|
|
|
+ align: 'center',
|
|
|
+ customRender: ({ index }: { index: number }) => `${index + 1}`
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '时间',
|
|
|
+ dataIndex: 'fileName',
|
|
|
+ key: 'fileName',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '1#汇流管',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '混合气体总量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '混合气体标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '混合气体工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体总量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷浓度',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '抽采负压',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '2#汇流管',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '混合气体总量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '混合气体标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '混合气体工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体总量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体标况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷气体工况瞬量',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '甲烷浓度',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '抽采负压',
|
|
|
+ dataIndex: 'fileType_dictText',
|
|
|
+ key: 'fileType_dictText',
|
|
|
+ align: 'center',
|
|
|
+ ellipsis: true,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title: '审批操作',
|
|
|
+ // dataIndex: 'actionSp',
|
|
|
+ // width: 200,
|
|
|
+ // align: 'center',
|
|
|
+ // slots: { customRender: 'actionSp' },
|
|
|
+ // },
|
|
|
+
|
|
|
+]
|
|
|
+
|
|
|
+//注气详情界面配置项数据
|
|
|
+export let optionDetailZq = [
|
|
|
+ { label: '注气总量', value: 'value1' },
|
|
|
+ { label: '标况瞬量', value: 'value2' },
|
|
|
+ { label: '工况瞬量', value: 'value3' },
|
|
|
+ { label: '注气压力', value: 'value4' },
|
|
|
+]
|
|
|
+//抽采详情界面配置项数据
|
|
|
+export let optionDetailCc = [
|
|
|
+ { label: '混合气体标况总量', value: 'value1' },
|
|
|
+ { label: '混合气体标况瞬量', value: 'value2' },
|
|
|
+ { label: '甲烷气体标况总量', value: 'value3' },
|
|
|
+ { label: '甲烷气体标况瞬量', value: 'value4' },
|
|
|
+ { label: '甲烷浓度', value: 'value5' },
|
|
|
+ { label: '抽采负压', value: 'value6' },
|
|
|
+]
|
|
|
+
|
|
|
+//注气详情图表配置项
|
|
|
+export let zqEchartOption = {
|
|
|
+ yname: 'MPa',
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'axis',
|
|
|
+ padding: 8,
|
|
|
+ backgroundColor: 'rgba(0, 0, 0, .6)',
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ fontSize: 12,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ top: '27%',
|
|
|
+ left: '7%',
|
|
|
+ right: '5%',
|
|
|
+ bottom: '8%',
|
|
|
+ containLabel: true
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ top: '1%',
|
|
|
+ right: '3%',
|
|
|
+ icon: 'circle',
|
|
|
+ itemWidth: 8,
|
|
|
+ itemHeight: 8,
|
|
|
+ itemGap: 12,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ fontSize: 12,
|
|
|
+ },
|
|
|
+ data: [
|
|
|
+ { name: '注气流量' },
|
|
|
+ { name: '注气压力' },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '注气流量',
|
|
|
+ type: 'line',
|
|
|
+ symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
|
|
|
+ showAllSymbol: true,
|
|
|
+ symbolSize: 0,
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 2,
|
|
|
+ color: 'rgba(236, 255, 62,1)', // 线条颜色
|
|
|
+ },
|
|
|
+ borderColor: 'rgba(0,0,0,.4)',
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(236, 255, 62,1)',
|
|
|
+ borderColor: "#646ace",
|
|
|
+ borderWidth: 2
|
|
|
+ },
|
|
|
+ areaStyle: { //区域填充样式
|
|
|
+ normal: {
|
|
|
+ //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "rgba(236, 255, 62,.4)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: "rgba(236, 255, 62, .1)"
|
|
|
+ }
|
|
|
+ ], false),
|
|
|
+ shadowColor: 'rgba(236, 255, 62, 0.5)', //阴影颜色
|
|
|
+ shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: 'yData'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '注气压力',
|
|
|
+ type: 'line',
|
|
|
+ symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
|
|
|
+ showAllSymbol: true,
|
|
|
+ symbolSize: 0,
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 2,
|
|
|
+ color: 'rgba(86, 241, 133,1)', // 线条颜色
|
|
|
+ },
|
|
|
+ borderColor: 'rgba(0,0,0,.4)',
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(86, 241, 133,1)',
|
|
|
+ borderColor: "#646ace",
|
|
|
+ borderWidth: 2
|
|
|
+
|
|
|
+ },
|
|
|
+ areaStyle: { //区域填充样式
|
|
|
+ normal: {
|
|
|
+ //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "rgba(86, 241, 133,.4)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: "rgba(86, 241, 133, .1)"
|
|
|
+ }
|
|
|
+ ], false),
|
|
|
+ shadowColor: 'rgba(86, 241, 133, 0.5)', //阴影颜色
|
|
|
+ shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: 'yData1'
|
|
|
+ },
|
|
|
+ ]
|
|
|
+}
|
|
|
+//抽采详情图表配置项
|
|
|
+export let ccEchartOption = {
|
|
|
+ yname: 'MPa',
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'axis',
|
|
|
+ padding: 8,
|
|
|
+ backgroundColor: 'rgba(0, 0, 0, .6)',
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ fontSize: 12,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ top: '27%',
|
|
|
+ left: '7%',
|
|
|
+ right: '5%',
|
|
|
+ bottom: '8%',
|
|
|
+ containLabel: true
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ top: '1%',
|
|
|
+ right: '3%',
|
|
|
+ icon: 'circle',
|
|
|
+ itemWidth: 8,
|
|
|
+ itemHeight: 8,
|
|
|
+ itemGap: 12,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ fontSize: 12,
|
|
|
+ },
|
|
|
+ data: [
|
|
|
+ { name: '抽采纯量' },
|
|
|
+ { name: '抽采混量' },
|
|
|
+ { name: '瓦斯浓度' },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '抽采纯量',
|
|
|
+ type: 'line',
|
|
|
+ symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
|
|
|
+ showAllSymbol: true,
|
|
|
+ symbolSize: 0,
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 2,
|
|
|
+ color: 'rgba(236, 255, 62,1)', // 线条颜色
|
|
|
+ },
|
|
|
+ borderColor: 'rgba(0,0,0,.4)',
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(236, 255, 62,1)',
|
|
|
+ borderColor: "#646ace",
|
|
|
+ borderWidth: 2
|
|
|
+ },
|
|
|
+ areaStyle: { //区域填充样式
|
|
|
+ normal: {
|
|
|
+ //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "rgba(236, 255, 62,.4)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: "rgba(236, 255, 62, .1)"
|
|
|
+ }
|
|
|
+ ], false),
|
|
|
+ shadowColor: 'rgba(236, 255, 62, 0.5)', //阴影颜色
|
|
|
+ shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: 'yData'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '瓦斯浓度',
|
|
|
+ type: 'line',
|
|
|
+ symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
|
|
|
+ showAllSymbol: true,
|
|
|
+ symbolSize: 0,
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 2,
|
|
|
+ color: 'rgba(86, 241, 133,1)', // 线条颜色
|
|
|
+ },
|
|
|
+ borderColor: 'rgba(0,0,0,.4)',
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(86, 241, 133,1)',
|
|
|
+ borderColor: "#646ace",
|
|
|
+ borderWidth: 2
|
|
|
+
|
|
|
+ },
|
|
|
+ areaStyle: { //区域填充样式
|
|
|
+ normal: {
|
|
|
+ //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "rgba(86, 241, 133,.4)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: "rgba(86, 241, 133, .1)"
|
|
|
+ }
|
|
|
+ ], false),
|
|
|
+ shadowColor: 'rgba(86, 241, 133, 0.5)', //阴影颜色
|
|
|
+ shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: 'yData1'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '抽采混量',
|
|
|
+ type: 'line',
|
|
|
+ symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
|
|
|
+ showAllSymbol: true,
|
|
|
+ symbolSize: 0,
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 2,
|
|
|
+ color: 'rgba(56, 218, 228,1)', // 线条颜色
|
|
|
+ },
|
|
|
+ borderColor: 'rgba(0,0,0,.4)',
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(56, 218, 228,1)',
|
|
|
+ borderColor: "#646ace",
|
|
|
+ borderWidth: 2
|
|
|
+
|
|
|
+ },
|
|
|
+ areaStyle: { //区域填充样式
|
|
|
+ normal: {
|
|
|
+ //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "rgba(56, 218, 228,.4)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: "rgba(56, 218, 228, .1)"
|
|
|
+ }
|
|
|
+ ], false),
|
|
|
+ shadowColor: 'rgba(56, 218, 228, 0.5)', //阴影颜色
|
|
|
+ shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: 'yData2'
|
|
|
+ },
|
|
|
+ ]
|
|
|
+}
|