跳到正文

窗格

创建、排列和填充指标窗格。

由固定提交的图表源码生成(1aa5e22)。工具说明保留模型实际收到的英文原文,不做翻译。

panes_list

List panes只读可并行图表内核源码

List the current pane layout and capabilities. Use paneId values from this result when creating drawings or changing a pane.

参数

此工具不需要输入。

JSON Schema
…

pane_create

Create pane修改图表按序执行图表内核源码

Create one indicator pane with a unique paneId, complete indicator params, and a registered sub-pane indicator that has renderers. Returns false when paneId exists or the indicator cannot render in a sub-pane.

参数

字段类型必填约束说明
paneIdstring是min length 1
indicatorIdstring是min length 1
paramsrecord是—

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>",
  "indicatorId": "<indicatorId>",
  "params": {}
}
JSON Schema
…

pane_update

Update pane修改图表按序执行图表内核源码

Update one pane layout patch. ratio is relative among visible panes; minHeightPx is a positive CSS-pixel constraint.

参数

字段类型必填约束说明
paneIdstring是min length 1
patchobject是—
patch.rationumber—> 0
patch.visibleboolean——
patch.minHeightPxnumber—> 0

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>",
  "patch": {}
}
JSON Schema
…

pane_remove

Remove pane修改图表按序执行图表内核源码

Remove one user pane and its indicator content. System-owned mode panes cannot be removed.

参数

字段类型必填约束说明
paneIdstring是min length 1

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>"
}
JSON Schema
…

pane_move

Move pane修改图表按序执行图表内核源码

Move one pane to a zero-based layout index without changing its indicator content.

参数

字段类型必填约束说明
paneIdstring是min length 1
targetIndexinteger是≥ 0

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>",
  "targetIndex": 0
}
JSON Schema
…

pane_replace_content

Replace pane content修改图表按序执行图表内核源码

Replace an existing user pane indicator with a registered sub-pane indicator that has renderers and complete params. The pane layout is preserved; returns false when the indicator cannot render in a sub-pane.

参数

字段类型必填约束说明
paneIdstring是min length 1
indicatorIdstring是min length 1
paramsrecord是—

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>",
  "indicatorId": "<indicatorId>",
  "params": {}
}
JSON Schema
…

pane_update_content

Update pane content修改图表按序执行图表内核源码

Replace the complete parameter object of one user pane indicator.

参数

字段类型必填约束说明
paneIdstring是min length 1
paramsrecord是—

最小输入 · 仅含必填字段,占位值由 schema 推导。

{
  "paneId": "<paneId>",
  "params": {}
}
JSON Schema
…

panes_clear

Clear panes修改图表按序执行图表内核源码

Remove every user-created indicator pane and its content. Main and mode-owned panes are retained.

参数

此工具不需要输入。

JSON Schema
…

本页内容