Explorar o código

fix(ldpe): 调整折线图x轴最小间隔

- 设置x轴最小间隔为1,避免数据点重叠-优化图表在小屏幕设备上的显示效果
- 提升时间序列数据的可读性
jiangbiao hai 1 mes
pai
achega
d5c8b06184
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      ui/src/views/dashboard/ldpe/LineChart.vue

+ 2 - 1
ui/src/views/dashboard/ldpe/LineChart.vue

@@ -71,7 +71,8 @@ export default {
             data: this.monthList,
             axisTick: {
               show: false
-            }
+            },
+            minInterval: 1,
           },
           grid: {
             left: 10,