Select theme:

Material 3

Chart (Angular)link

This guide demonstrates how to use the Chart component.

Column, Line, Bar and Area Chart Propertieslink

NameTypeDefaultDescription
Namestring'chart' + index suffixUnique name of the Chart.
ChartTypestringnullChart type. area, bar, line or column.
DataarraynullChart data.
ValuePropertystringnullChart data value property.
CategoryPropertystringnullChart data category property.
SeriesstringnullChart data series property.
LegendbooleanfalseIs Chart legend visible.

Column chart

image

Bar chart

image

Line chart

image

Area chart

image

Column, Line, Bar and Area Angular declarationlink

<rz-chart #chart0 categoryProperty="ProductName" chartType="Area" [data]="getProductsResult"
  [legend]="false" valueProperty="ProductPrice">
</rz-chart>

Pie and Donut Chart Propertieslink

NameTypeDefaultDescription
Namestring'chart' + index suffixUnique name of the Chart.
ChartTypestringnullChart pie or donut.
IconstringnullDataGrid icon.
TitlestringnullChart title.
TitleColorstringnullChart title color.
TitleBackgroundstringnullChart title background color.
DataarraynullChart data.
ValuePropertystringnullChart data value property.
CategoryPropertystringnullChart data category property.
LegendbooleanfalseIs Chart legend visible.
LabelsbooleanfalseAre Chart labels visible.

Pie chart

image

Donut chart

image

Pie and Donut Angular declarationlink

<rz-pie #pie0 categoryProperty="Id" chartType="Pie" [data]="getProductsResult"
  [legend]="true"  valueProperty="ProductPrice">
</rz-pie>

© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3