فهرست منبع

折线图单条记录显示优化

zhangjie 6 سال پیش
والد
کامیت
5a41bdb1fd
1فایلهای تغییر یافته به همراه12 افزوده شده و 2 حذف شده
  1. 12 2
      stmms-web/src/main/webapp/static/report-pdf/js/chart-render.js

+ 12 - 2
stmms-web/src/main/webapp/static/report-pdf/js/chart-render.js

@@ -898,7 +898,12 @@
         {
           type: "line",
           data: levelDatas,
-          symbol: "none",
+          showSymbol: levelDatas.length <= 1,
+          symbol: "circle",
+          symbolSize: 8,
+          itemStyle: {
+            color: "rgba(61, 160, 255, 0.8)"
+          },
           lineStyle: {
             color: "rgba(61, 160, 255, 0.8)"
           },
@@ -1003,7 +1008,12 @@
         {
           type: "line",
           data: levelDatas,
-          symbol: "none",
+          showSymbol: levelDatas.length <= 1,
+          symbol: "circle",
+          symbolSize: 8,
+          itemStyle: {
+            color: "rgba(61, 160, 255, 0.8)"
+          },
           lineStyle: {
             color: "rgba(61, 160, 255, 0.8)"
           },