浏览代码

Merge branch 'dev_190618' of http://git.qmth.com.cn/luoshi/stmms-ft.git into dev_190618

ting.yin 6 年之前
父节点
当前提交
56e0839d44
共有 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)"
           },