工具 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.
其他1 积分
调用信息
- 工具标识
- chart.generate_line_chart
- 服务提供方
- 图表生成
- 平均响应
- 58 ms
- 近 7 天调用
- 1
输入参数
data必填Data 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.