|
@@ -216,7 +216,13 @@ export default {
|
|
|
|
|
|
// 配置图表布局
|
|
|
const layout = {
|
|
|
- title: `有功功率曲线分析${this.lineMarkerData.engineTypeName}`,
|
|
|
+ title: {
|
|
|
+ text: `有功功率曲线分析${this.lineMarkerData.engineTypeName}`,
|
|
|
+ font: {
|
|
|
+ size: 16, // 设置标题字体大小(默认 16)
|
|
|
+ weight: "bold",
|
|
|
+ },
|
|
|
+ },
|
|
|
plot_bgcolor: this.config.lableConfig.plot_bgcolor,
|
|
|
xaxis: { ...this.config.lableConfig.xaxis },
|
|
|
yaxis: { ...this.config.lableConfig.yaxis },
|
|
@@ -253,9 +259,15 @@ export default {
|
|
|
const highlightedData = [];
|
|
|
const nonHighlightedData = [];
|
|
|
const layout = {
|
|
|
- title:
|
|
|
- fentuCharts[0]?.enginName ||
|
|
|
- fentuCharts[0]?.enginCode + "风机有功功率曲线分析",
|
|
|
+ title: {
|
|
|
+ text:
|
|
|
+ fentuCharts[0]?.enginName ||
|
|
|
+ fentuCharts[0]?.enginCode + "风机有功功率曲线分析",
|
|
|
+ font: {
|
|
|
+ size: 16, // 设置标题字体大小(默认 16)
|
|
|
+ weight: "bold",
|
|
|
+ },
|
|
|
+ },
|
|
|
plot_bgcolor: this.config.lableConfig.plot_bgcolor,
|
|
|
xaxis: this.config.lableConfig.xaxis,
|
|
|
yaxis: this.config.lableConfig.yaxis,
|