src/views/cockpitPage/components/MaterialChart.vue
@@ -77,6 +77,9 @@
              show: false,
              startValue: that.startValue, // 从头开始
              endValue: that.endValue, // 一次性展示几个
              zoomOnMouseWheel: false,
              moveOnMouseWheel: true,
              moveOnMouseMove: true,
            },
          ],
          legend: {
@@ -157,6 +160,9 @@
                textStyle: {
                  color: "#00FFFF",
                },
                formatter: function (value) {
                  return `${(value / 1000).toFixed(1)}k`;
                },
              },
            },
          ],