The Radzen Blazor Chart displays a legend by default. It uses the Title
property of the series (or category values for pie series) as items in the legend.
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 closes "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.
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT