Skip to examples
Browse chart types
Chart library26 ways to visualize

STATISTICS / CHART GUIDE

Dual Axes Chart

A dual-axes chart is a combination chart that combines two different chart types, typically displaying a column chart and a line chart together.

01 / EXPLORE

See it in action.

Switch to Code to copy an example.

Compare monthly sales and profit rate with crosshair axis labels.

Show weekly active users (column) and growth rate (line) trends, with custom colors.

Show quarterly revenue (column) and profit rate, cost rate (dual lines) trends, with custom colors

About Dual Axes Chart

A dual-axes chart is a combination chart that combines two different chart types, typically displaying a column chart and a line chart together. By using two vertical Y-axes (left and right) in one chart, it corresponds to different numerical dimensions. The column chart shows the magnitude or quantity of one set of data, while the line chart shows the trend of another set of data. Dual-axes charts are ideal for simultaneously displaying trends of different types of data.

02 / CONFIGURE

Make it yours.

The properties available for this chart.

Configuration Options

PropertyTypeRequiredDescription
typestringrequiredValue must be "dual-axes".
categoriesstring[]requiredX-axis categories.
titlestringoptionalChart title.
axisXTitlestringoptionalX-axis title.
seriesObject[]requiredChart composition, each object represents a basic chart.
series.type'column' | 'line'required"column" for column chart, "line" for line chart.
series.datanumber[]requiredBasic chart data.
series.axisYTitlestringoptionalY-axis title for this series.
themeBuiltinThemeName | ThemeSpecoptionalBuilt-in theme name or custom theme object; default is "default". See Documentation → Custom Themes.
styleObjectoptionalChart style.
style.backgroundColorstringoptionalMust be a valid color value.
style.palettestring[]optionalMust be an array of valid color values.
style.startAtZerobooleanoptionalWhether the Y-axis starts from zero, default is false.
GPT-Vis · An AntV project · MIT licensed