New to Kendo UI for Vue? Start a free 30-day trial

Area

Area charts are categorical charts which are suitable for displaying quantitative data by using continuous lines.

The Area chart is suitable for displaying quantitative data by using continuous lines passing through points defined by the values of their items. The portion of the graph beneath the lines is filled with a particular color for each series. The different colors in an Area chart are useful for emphasizing changes in values coming from several sets of similar data.

Basic Usage

The following example demonstrates the Area chart in action.

Example
View Source
Change Theme:

Data Binding

You can bind the Area series to an array that contains:

  • Numbers.
  • Arrays which represent [value, category] tuples.
  • Objects which are also referred to as models.

For more information on how to configure each data-binding mode, refer to the article on binding the Kendo UI Chart to data.

Sub-Types

The Area charts feature the following sub-types:

Stacked Area Charts

Stacked Area charts are suitable for indicating the proportion of individual values to the total. To set the Area series sub-type, set series-defaults-stack to true.

Multiple series that are rendered in the same Area chart will overlap one another by default. To avoid that, you can stack these series on top of one another so that the data values at each x-value are summed. In an Area chart, the value for each series will always be stacked relatively to the preceding one.

Example
View Source
Change Theme:

100% Stacked Area Charts

100% stacked Area charts are suitable for indicating the proportion of individual values as a percentage of the total. To define a stacked Area series sub-type, set series-defaults-stack-type to "'100%'".

While it is possible to plot negative values in a 100% stacked chart, the results are hard for the user to interpret.

Example
View Source
Change Theme:

Stepped Area Charts

The stepped Area chart is a variation of the Area chart where each data point from the series is connected with vertical and horizontal lines to form a step-like progression. Stepped Area charts are useful for highlighting the increase or decrease in values over time. To define a stepped Area chart, set line-style to "'step'".

Example
View Source
Change Theme:

Smooth Area Charts

A smooth Area chart (spline) chart is a form of Area charts where each data point from the series is connected with a curved line which represents a rough approximation of the missing data points. To define a smooth Area chart, set line-style to "'smooth'".

Example
View Source
Change Theme: