|
@@ -28,8 +28,11 @@ export default {
|
|
|
powerConfig: {
|
|
|
mode: "lines+markers",
|
|
|
name: "合同功率曲线",
|
|
|
- line: { color: "red" },
|
|
|
- marker: { color: "red", size: 5 },
|
|
|
+ line: {
|
|
|
+ color: "red",
|
|
|
+ width: 1, // 设置线条的宽度为1
|
|
|
+ },
|
|
|
+ marker: { color: "red", size: 4 },
|
|
|
},
|
|
|
lableConfig: {
|
|
|
title: { text: "", x: 0.5 },
|
|
@@ -230,8 +233,9 @@ export default {
|
|
|
name: this.powerCurveData.contractPowerCurve[0].enginName,
|
|
|
line: {
|
|
|
color: "red",
|
|
|
- width: 1, // 设置线条的宽度为3
|
|
|
+ width: 1, // 设置线条的宽度为1
|
|
|
},
|
|
|
+ marker: { color: "red", size: 4 },
|
|
|
});
|
|
|
Plotly.newPlot(`chart-${this.inds}`, data, layout);
|
|
|
}
|