TOOL API

aitable__update_chart

Updates the config or layout of an existing chart in a DingTalk AI Table dashboard. Call get_dashboard_widgets_example first to learn the required structure of the config object.

enterpriseOAuth1 credits

Call information

Tool slug
dingtalk.aitable__update_chart
Provider
DingTalk
Average response
0 ms
Calls in 7 days
0

Input parameters

baseIdrequired

所属 Base 的唯一标识,可通过 list_bases / search_bases 获取

chartIdrequired

目标 chart 的唯一标识,可通过 get_dashboard 获取

config

必传参数,图表配置对象,必须按 get_dashboard_widgets_example 返回的 JSONC 结构和注释构造符合要求的 JSON,仅需将占位值替换为真实值

dashboardIdrequired

所属 dashboard 的唯一标识,可通过 get_base 获取

layout

可选,不提供此参数代表不更改布局,图表在 dashboard 中的位置和大小。x/y 表示横纵坐标,w/h 表示宽度/高度,单位是列数或行数。仪表盘是网格布局共 12 列、行数无明确限制,更新布局时一定注意。同一行的图表保持高度一致,每行的图表宽度相加需要正好将整行填满,以避免出现空白。总计类的图表排在上部,以方便用户快速查看,下方再放置更具体的图表。通过 get_dashboard 获取当...