New to Telerik UI for Blazor? Download Free 30-day trial
Chart - Column Chart
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Column-chart.razor
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 Column Chart.
The Blazor Column Chart visualizes data as vertical bars whose heights vary according to their value. It is practical for scenarios in which you want to show a comparison between several sets of data. The Blazor Column Chart supports multiple series and exposes various configuration options.
The individual series are marked with different colors that can be customized through the ColorField
property of the series. The Blazor Column Chart allows you control the distance between the bars of different series in the same category – use the Spacing
property to set your desired distance value. Additionally, you can configure the distance between the different categories though the Gap
property.
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 Column Chart that visualizes the gross domestic product growth of several countries. The Chart uses a dedicated series for each of the countries to represent their GDP growth per year category.