工具 API

generate_tree_chart

generate_tree_chart

data1 积分

调用信息

工具标识
chart-gen.generate_tree_chart
服务提供方
图表生成工具
平均响应
0 ms
近 7 天调用
0

输入参数

data必填

Tree data structure, such as, { name: 'Root', children: [{ name: 'Child 1' }, { name: 'Child 2' }] }.

height

Set the height of the chart, default is 600px.

layout

Tree layout type. Default is 'orthogonal'.

orient

Tree orientation. LR=left-to-right, RL=right-to-left, TB=top-to-bottom, BT=bottom-to-top. Default is 'LR'.

theme

Set the theme for the chart, optional, default is 'default'.

title

Set the title of the chart.

width

Set the width of the chart, default is 800px.

outputType

The output type of the diagram. Can be 'png', 'svg' or 'option'. Default is 'png', 'png' will return the rendered PNG image, 'svg' will return the rendered SVG string, and 'option' will return the valid ECharts option.