TOOL API

generate_echarts

generate_echarts

data1 credits

Call information

Tool slug
chart-gen.generate_echarts
Provider
Chart Tools
Average response
0 ms
Calls in 7 days
0

Input parameters

echartsOptionrequired

ECharts 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.

width

The width of the ECharts in pixels. Default is 800.

height

The height of the ECharts in pixels. Default is 600.

theme

ECharts theme, optional. Default is 'default'.

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.