TOOL API
generate_ bar_ chart
generate_bar_chart
Call information
- Tool slug
- chart-gen.generate_bar_chart
- Provider
- Chart Tools
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
axisXTitleSet the x-axis title of chart.
axisYTitleSet the y-axis title of chart.
datarequiredData for bar chart, such as, [{ category: 'Category A', value: 10 }, { category: 'Category B', value: 20 }] or [{ category: 'Category A', value: 10, group: 'Group A' }].
heightSet the height of the chart, default is 600px.
groupWhether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false.
stackWhether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false.
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.