TOOL API
generate_ tree_ chart
generate_tree_chart
data1 credits
Call information
- Tool slug
- chart-gen.generate_tree_chart
- Provider
- Chart Tools
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
datarequiredTree data structure, such as, { name: 'Root', children: [{ name: 'Child 1' }, { name: 'Child 2' }] }.
heightSet the height of the chart, default is 600px.
layoutTree layout type. Default is 'orthogonal'.
orientTree orientation. LR=left-to-right, RL=right-to-left, TB=top-to-bottom, BT=bottom-to-top. Default is 'LR'.
themeSet the theme for the chart, optional, default is 'default'.
titleSet the title of the chart.
widthSet the width of the chart, default is 800px.
outputTypeThe 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.