|
|
@@ -1,7 +1,7 @@
|
|
|
/*
|
|
|
* @Author: your name
|
|
|
* @Date: 2024-11-12 09:27:50
|
|
|
- * @LastEditTime: 2025-08-29 14:20:39
|
|
|
+ * @LastEditTime: 2025-08-29 15:34:11
|
|
|
* @LastEditors: bogon
|
|
|
* @Description: In User Settings Edit
|
|
|
* @FilePath: /performance-test/src/views/performance/components/custonAsCom/dragChart/components/chartConfig/form/configFn.js
|
|
|
@@ -28,6 +28,7 @@ export const getFormattedSeries = (data, chartType) => {
|
|
|
series.push({
|
|
|
name: item.label,
|
|
|
type: chartType === "lineHighlight" ? "line" : chartType,
|
|
|
+ smooth: chartType === "lineHighlight" ? true : false,
|
|
|
progressiveThreshold: 3000, // 当数据量超过3000时启用渐进式渲染
|
|
|
progressive: true, // 启用渐进式渲染
|
|
|
renderMode: "webgl", // 启用 WebGL 渲染
|
|
|
@@ -40,7 +41,6 @@ export const getFormattedSeries = (data, chartType) => {
|
|
|
{ type: "min", name: "Min" },
|
|
|
],
|
|
|
},
|
|
|
-
|
|
|
markLine: {
|
|
|
data: [{ type: "average", name: "Avg" }],
|
|
|
},
|