设置
读取、修改和重置图表设置。
由固定提交的图表源码生成(
1aa5e22)。工具说明保留模型实际收到的英文原文,不做翻译。settings_get
Read the current chart preferences (theme, grid, axes, time zone, tooltip, renderer, cache limit, colors) and the schema of writable keys with their allowed values.
参数
此工具不需要输入。
JSON Schema
…settings_update
Apply one or more chart preferences immediately, e.g. {"values":{"theme":"light","showGridLines":false}}. Call settings_get first for allowed keys and values. The same action backs the settings dialog, so the user sees the change at once.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
values | record | 是 | — |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{
"values": {}
}JSON Schema
…settings_reset
Restore chart preferences to their defaults. Pass "keys" to reset only those settings; omit it to reset everything. Returns the previous values.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
keys | string[] | — | min items 1; item min length 1 |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{}JSON Schema
…