Browse Source

fix大数据量下图表的精度问题

Karsa 3 năm trước cách đây
mục cha
commit
4f02934a4d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/utils/chartOptions.ts

+ 3 - 0
src/utils/chartOptions.ts

@@ -36,6 +36,9 @@ export const defaultOpts = {
   plotOptions: {
     series: {
       turboThreshold: 0, //不限制数据点个数
+      dataGrouping: {
+        enabled: false,
+      },//取消数据大自动数据合并
     },
   },
   //范围选择器