|
@@ -1436,3 +1436,58 @@ function getListData(queryParam = {}) {
|
|
|
|
|
|
colorStops: [{
|
|
colorStops: [{
|
|
offset: 0,
|
|
offset: 0,
|
|
|
|
+ color: '#07E1F1' // 0% 处的颜色
|
|
|
|
+ }, {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: '#0456CB' // 100% 处的颜色
|
|
|
|
+ }],
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ colorStops: [{
|
|
|
|
+ offset: 0,
|
|
|
|
+ color: '#11F90C' // 0% 处的颜色
|
|
|
|
+ }, {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: '#3FC713' // 100% 处的颜色
|
|
|
|
+ }],
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ],
|
|
|
|
+
|
|
|
|
+ tooltip: {
|
|
|
|
+ trigger: "axis",
|
|
|
|
+ textStyle: {
|
|
|
|
+ align: 'left' //图例左对齐
|
|
|
|
+ },
|
|
|
|
+ backgroundColor: '#12DFE0',
|
|
|
|
+ formatter: '{a0}: {c0}<br />{a1}: {c1}<br />{a2}: {c2}<br />时间:{b}'
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ legend: {
|
|
|
|
+ // 如果series 对象有name 值,则 legend可以不用写data
|
|
|
|
+ itemGap: 20,
|
|
|
|
+ itemHeight: 2,
|
|
|
|
+ itemWidth: 15,
|
|
|
|
+ icon: 'rect',
|
|
|
|
+ textStyle: {
|
|
|
|
+ color: "#aaa"
|
|
|
|
+ },
|
|
|
|
+ top: "bottom",
|
|
|
|
+ },
|
|
|
|
+ grid: {
|
|
|
|
+ top: "0%",
|
|
|
|
+ left: "1%",
|
|
|
|
+ right: "1%",
|
|
|
|
+ bottom: "15%",
|
|
|
|
+ show: true, // 显示边框
|
|
|
|
+ borderWidth: '0', //去除边框
|
|
|
|
+ containLabel: true // 包含刻度文字在内
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ xAxis: {
|
|
|
|
+ type: "category",
|
|
|
|
+ boundaryGap: false,
|