工具 API

generate_dual_axes_chart

Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.

其他1 积分

调用信息

工具标识
chart.generate_dual_axes_chart
服务提供方
图表生成
平均响应
0 ms
近 7 天调用
0

输入参数

categories必填

Categories for dual axes chart, such as, ['2015', '2016', '2017'].

series必填

Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }].

style

Custom style configuration for the chart.

theme

Set the theme for the chart, optional, default is 'default'.

width

Set the width of chart, default is 600.

height

Set the height of chart, default is 400.

title

Set the title of chart.

axisXTitle

Set the x-axis title of chart.