Skip to examples
Browse chart types
Chart library26 ways to visualize

STATISTICS / CHART GUIDE

Area Chart

An area chart is a statistical chart that reflects numerical changes as an ordered variable changes, similar in principle to a line chart.

01 / EXPLORE

See it in action.

Switch to Code to copy an example.

Global Electric Vehicle Sales Trend

China Power Structure Change Trend, Custom Colors

Global Cloud Computing Market Size Trend, Custom Palette

About Area Chart

An area chart is a statistical chart that reflects numerical changes as an ordered variable changes, similar in principle to a line chart. The distinctive feature of an area chart is that the area between the line and the independent variable axis is filled with color.

02 / CONFIGURE

Make it yours.

The properties available for this chart.

Configuration Options

PropertyTypeRequiredDescription
typestringrequiredValue must be "area".
dataObject[]requiredChart data.
data.timestring | numberrequiredTime series name.
data.valuenumberrequiredData value.
data.groupstringoptionalGroup name. Required when stacking is enabled.
stackbooleanoptionalWhether to enable stacking.
titlestringoptionalChart title.
axisXTitlestringoptionalX-axis title.
axisYTitlestringoptionalY-axis title.
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.lineWidthnumberoptionalStroke width, value must be greater than or equal to 0.
GPT-Vis · An AntV project · MIT licensed