TOOL API
generate_ line_ chart
generate_line_chart
Call information
- Tool slug
- chart-gen.generate_line_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 line chart, such as, [{ time: '2015', value: 23 }, { time: '2016', value: 32 }]. For multiple series: [{ group: 'Series A', time: '2015', value: 23 }, { group: 'Series B', time: '2015', value: 18 }].
heightSet the height of the chart, default is 600px.
showAreaWhether to fill the area under the line. Default is false.
showSymbolWhether to show symbols on data points. Default is true.
smoothWhether to use a smooth curve. Default is false.
stackWhether stacking is enabled. When enabled, line charts require a 'group' field in the data.
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.