功能: 完善功率曲线报告导出与图表样式

This commit is contained in:
cloud
2026-07-20 17:20:12 +08:00
parent e125e439f8
commit 4fa938ca79
6 changed files with 1531 additions and 57 deletions
+10
View File
@@ -252,3 +252,13 @@
"data": null
}
```
### GET /api/wind/chart-options
读取全局图表样式配置。未保存时返回 `configured: false`;已保存时 `options.text_scale`
为文字倍率,取值范围 `0.75~1.50`,其中 `1.00` 为默认倍率。
### POST /api/wind/chart-options
保存全局图表样式配置。请求体包含当前图表全部样式字段,其中 `text_scale` 为必填数字,
取值范围 `0.75~1.50`。旧配置中的 `text_size` 会在读取时自动换算为倍率。