The axes set the frame a chart is read against - the scale, the gridlines, the labels. By default they fit the data, but you can pin the range, format the values, and add a title.
By default the Radzen Blazor Chart determines the Y axis minimum and maximum based on the range of values. For example it finds the minimum and maximum values and uses the closest "nice" number. A nice number is usually a multiple of a power of 10: 0, 10, 100, 1000, 200000 etc.
The value axis displays values with default formatting (ToString()). This can be customized in two ways - via the FormatString or the Formatter properties. FormatString supports the standard .NET Number formats.
You can make the chart display grid lines for either the value or category axis. Add a RadzenGridLines tag inside RadzenValueAxis or RadzenCategoryAxis and set its Visible property to true.
Use the RadzenAxisTitle tag to display text below the category axis or next to the value axis.
Set Min, Max, and Step on the value axis to control the range and tick spacing instead of letting the chart pick them from the data.
Use the axis FormatString to display values as currency, percentages, dates, or any format you need.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT