TOOL API
generate_ echarts
generate_echarts
Call information
- Tool slug
- chart-gen.generate_echarts
- Provider
- Chart Tools
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
echartsOptionrequiredECharts option and configuration used to generate charts. For example: { "title": { "text": "ECharts Entry Example", "left": "center", "top": "2%" }, "tooltip": {}, "xAxis": { "data": ["shirt", "cardigan", "chiffon", "pants", "heels", "socks"] }, "yAxis": {}, "series": [{ "name": "Sales", "type": "bar", "data": [5, 20, 36, 10, 10, 20] }] } ATTENTION: A valid ECharts option must be a valid JSON string, and cannot be empty.
widthThe width of the ECharts in pixels. Default is 800.
heightThe height of the ECharts in pixels. Default is 600.
themeECharts theme, optional. Default is 'default'.
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.