New to Telerik UI for Blazor? Download Free 30-day trial
Chart - Line Chart
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
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 Line Chart.
The Blazor Line Chart shows data as continuous lines that pass through points defined by the values of their items. It is practical for scenarios in which you want to visualize a trend over time and compare several sets of similar data. The Blazor Line 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. You can also customize the appearance of the series markers – the Line Chart exposes options to control their size, type, rotation and visibility.
The Blazor Line Chart allows you to configure the type of the series line. By default, the Line Chart will draw a straight line between data points. You can change that
Occasionally, some values can be missing from the series data. The Blazor Line 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 –
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 Line Chart that visualizes the gross domestic product growth of several countries. The Line Chart uses a dedicated series for each of the countries to represent their GDP growth per year category.