Select theme:
This guide demonstrates how to use the Chart component.
Name | Type | Default | Description |
---|---|---|---|
Name | string | 'chart' + index suffix | Unique name of the Chart. |
ChartType | string | null | Chart type. area, bar, line or column. |
Data | array | null | Chart data. |
ValueProperty | string | null | Chart data value property. |
CategoryProperty | string | null | Chart data category property. |
Series | string | null | Chart data series property. |
Legend | boolean | false | Is Chart legend visible. |
<rz-chart #chart0 categoryProperty="ProductName" chartType="Area" [data]="getProductsResult"
[legend]="false" valueProperty="ProductPrice">
</rz-chart>
Name | Type | Default | Description |
---|---|---|---|
Name | string | 'chart' + index suffix | Unique name of the Chart. |
ChartType | string | null | Chart pie or donut. |
Icon | string | null | DataGrid icon. |
Title | string | null | Chart title. |
TitleColor | string | null | Chart title color. |
TitleBackground | string | null | Chart title background color. |
Data | array | null | Chart data. |
ValueProperty | string | null | Chart data value property. |
CategoryProperty | string | null | Chart data category property. |
Legend | boolean | false | Is Chart legend visible. |
Labels | boolean | false | Are Chart labels visible. |
<rz-pie #pie0 categoryProperty="Id" chartType="Pie" [data]="getProductsResult"
[legend]="true" valueProperty="ProductPrice">
</rz-pie>
Radzen is free to use. You can also test the premium features for 15 days.
Download NowSelect theme: