样式
Showing
3 changed files
with
50 additions
and
2 deletions
| ... | @@ -660,8 +660,14 @@ const handelZhu1 = (row1, row2) => { | ... | @@ -660,8 +660,14 @@ const handelZhu1 = (row1, row2) => { |
| 660 | color: '#fff', | 660 | color: '#fff', |
| 661 | width: 1, | 661 | width: 1, |
| 662 | type: 'solid' | 662 | type: 'solid' |
| 663 | } | 663 | }, |
| 664 | }, | 664 | }, |
| 665 | splitLine: { | ||
| 666 | show: true, // 默认false,需显式开启 | ||
| 667 | lineStyle: { | ||
| 668 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 669 | } | ||
| 670 | } | ||
| 665 | } | 671 | } |
| 666 | ], | 672 | ], |
| 667 | series: [ | 673 | series: [ |
| ... | @@ -766,6 +772,12 @@ const handelZhu2 = (row1, row2) => { | ... | @@ -766,6 +772,12 @@ const handelZhu2 = (row1, row2) => { |
| 766 | type: 'solid' | 772 | type: 'solid' |
| 767 | } | 773 | } |
| 768 | }, | 774 | }, |
| 775 | splitLine: { | ||
| 776 | show: true, // 默认false,需显式开启 | ||
| 777 | lineStyle: { | ||
| 778 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 779 | } | ||
| 780 | } | ||
| 769 | } | 781 | } |
| 770 | ], | 782 | ], |
| 771 | series: [ | 783 | series: [ |
| ... | @@ -888,6 +900,12 @@ const handelZhu3 = (row1, row2) => { | ... | @@ -888,6 +900,12 @@ const handelZhu3 = (row1, row2) => { |
| 888 | type: 'solid' | 900 | type: 'solid' |
| 889 | } | 901 | } |
| 890 | }, | 902 | }, |
| 903 | splitLine: { | ||
| 904 | show: true, // 默认false,需显式开启 | ||
| 905 | lineStyle: { | ||
| 906 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 907 | } | ||
| 908 | } | ||
| 891 | } | 909 | } |
| 892 | ], | 910 | ], |
| 893 | series: [ | 911 | series: [ |
| ... | @@ -1024,6 +1042,12 @@ const handelZhu4 = (listX, dataList) => { | ... | @@ -1024,6 +1042,12 @@ const handelZhu4 = (listX, dataList) => { |
| 1024 | type: 'solid' | 1042 | type: 'solid' |
| 1025 | } | 1043 | } |
| 1026 | }, | 1044 | }, |
| 1045 | splitLine: { | ||
| 1046 | show: true, // 默认false,需显式开启 | ||
| 1047 | lineStyle: { | ||
| 1048 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 1049 | } | ||
| 1050 | } | ||
| 1027 | } | 1051 | } |
| 1028 | ], | 1052 | ], |
| 1029 | series: [ | 1053 | series: [ | ... | ... |
| ... | @@ -416,7 +416,7 @@ const setB = (arr1, arr2, arr3, arr4) => { | ... | @@ -416,7 +416,7 @@ const setB = (arr1, arr2, arr3, arr4) => { |
| 416 | left: '3%', | 416 | left: '3%', |
| 417 | right: '4%', | 417 | right: '4%', |
| 418 | bottom: '3%', | 418 | bottom: '3%', |
| 419 | containLabel: true | 419 | containLabel: true, |
| 420 | }, | 420 | }, |
| 421 | xAxis: [ | 421 | xAxis: [ |
| 422 | { | 422 | { |
| ... | @@ -448,6 +448,12 @@ const setB = (arr1, arr2, arr3, arr4) => { | ... | @@ -448,6 +448,12 @@ const setB = (arr1, arr2, arr3, arr4) => { |
| 448 | type: 'solid' | 448 | type: 'solid' |
| 449 | } | 449 | } |
| 450 | }, | 450 | }, |
| 451 | splitLine: { | ||
| 452 | show: true, // 默认false,需显式开启 | ||
| 453 | lineStyle: { | ||
| 454 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 455 | } | ||
| 456 | } | ||
| 451 | } | 457 | } |
| 452 | 458 | ||
| 453 | ], | 459 | ], |
| ... | @@ -597,6 +603,12 @@ const setC = (h1, h2, h3) => { | ... | @@ -597,6 +603,12 @@ const setC = (h1, h2, h3) => { |
| 597 | type: 'solid' | 603 | type: 'solid' |
| 598 | } | 604 | } |
| 599 | }, | 605 | }, |
| 606 | splitLine: { | ||
| 607 | show: true, // 默认false,需显式开启 | ||
| 608 | lineStyle: { | ||
| 609 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 610 | } | ||
| 611 | } | ||
| 600 | } | 612 | } |
| 601 | ], | 613 | ], |
| 602 | series: [ | 614 | series: [ | ... | ... |
| ... | @@ -382,6 +382,12 @@ const setA = (arrY, arr1, arr2, arr3) => { | ... | @@ -382,6 +382,12 @@ const setA = (arrY, arr1, arr2, arr3) => { |
| 382 | type: 'solid' | 382 | type: 'solid' |
| 383 | } | 383 | } |
| 384 | }, | 384 | }, |
| 385 | splitLine: { | ||
| 386 | show: true, // 默认false,需显式开启 | ||
| 387 | lineStyle: { | ||
| 388 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 389 | } | ||
| 390 | } | ||
| 385 | }, | 391 | }, |
| 386 | dataZoom: [ | 392 | dataZoom: [ |
| 387 | { | 393 | { |
| ... | @@ -509,6 +515,12 @@ const setB = (arrY, arr1, arr2) => { | ... | @@ -509,6 +515,12 @@ const setB = (arrY, arr1, arr2) => { |
| 509 | type: 'solid' | 515 | type: 'solid' |
| 510 | } | 516 | } |
| 511 | }, | 517 | }, |
| 518 | splitLine: { | ||
| 519 | show: true, // 默认false,需显式开启 | ||
| 520 | lineStyle: { | ||
| 521 | color: 'rgba(255, 255, 255, .2)', // 绿色轴线 | ||
| 522 | } | ||
| 523 | } | ||
| 512 | }, | 524 | }, |
| 513 | yAxis: { | 525 | yAxis: { |
| 514 | type: 'category', | 526 | type: 'category', | ... | ... |
-
Please register or sign in to post a comment