TOOL API
generate_ line_ chart
Generate a line chart to show trends over time, such as, the ratio of Apple computer sales to Apple's profits changed from 2000 to 2016.
Other1 credits
Call information
- Tool slug
- chart.generate_line_chart
- Provider
- Chart
- Average response
- 58 ms
- Calls in 7 days
- 1
Input parameters
datarequiredData for line chart, it should be an array of objects, each object contains a `time` field and a `value` field, such as, [{ time: '2015', value: 23 }, { time: '2016', value: 32 }].
stackWhether stacking is enabled. When enabled, line charts require a 'group' field in the data.
styleCustom style configuration for the chart.
themeSet the theme for the chart, optional, default is 'default'.
widthSet the width of chart, default is 600.
heightSet the height of chart, default is 400.
titleSet the title of chart.
axisXTitleSet the x-axis title of chart.
axisYTitleSet the y-axis title of chart.