|
@@ -320,7 +320,9 @@ function rangeSegementsLine() {
|
|
|
type: "value",
|
|
|
},
|
|
|
series: courses.map((course) => ({
|
|
|
- data: course.rangeSegements.map((v) => v[1]),
|
|
|
+ data: course.rangeSegements.map((v) =>
|
|
|
+ typeof v[1] === "number" ? Math.round(v[1] * 100) / 100 : v[1]
|
|
|
+ ),
|
|
|
name: course.projectName,
|
|
|
type: "line",
|
|
|
smooth: true,
|