New to Telerik UI for Blazor? Download Free 30-day trial

Chart - Area Chart

  • Area-chart.razor
Loading the demo source code...please wait.

Description

Telerik UI for Blazor Chart is a data visualization component which allows you to output graphical representation of your data. It is useful when you would like to utilize modern browser technologies such as SVG or Canvas for interactive data visualizations. The chart supports various numerical, categorical and axis-free types. The current demo focuses on the Area Chart.

Blazor Area Chart is suitable for displaying quantitative data as continuous lines that pass through points defined by their items' values. 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 from several sets of similar data. The Blazor Area Chart supports multiple series and exposes various configuration options.

The individual series are marked with different colors that can be customized through the ColorField of the series. Additionally, you can control the transparency of the series through the Opacity parameter.

The Blazor Area Chart allows you to configure the type of the series line. By default, the Area Chart will draw a straight line between data points. You can change that to Step or Smooth option.

Occasionally, some values can be missing from the series data. The Blazor Area Chart lets you customize how these missing points will be handled. The MissingValues property of the series supports three options to configure the chart behavior related to missing points – Zero, Interpolate and Gap.

Besides series customization, the Blazor Chart exposes multiple nested tags that allow you configure the rest of the chart elements – Category Axis, Legend, Plot Area, Tooltip. Check the Chart API Reference for a full list of properties, methods and events.

The demo showcases a Blazor Area Chart visualizing the gross domestic product growth of three countries. The Chart uses a dedicated series for each of the countries to represent their GDP growth per year category.

This Charts and Graphs Area Chart example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.