You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Radzen Blazor Chart Series when CategoryProperty not set chart axis rendering is not falling back to using Data row Index for X chart values (positions)
#1279
Open
PRIMETSS opened this issue
Dec 9, 2023
· 0 comments
Describe the bug
Radzen Blazor Chart states that if
CategoryProperty - the name of the property which provides value for the X axis of the chart. The property can be string, Date or numeric. If not set RadzenChart will use the index of the data item as its X axis value.
To Reproduce
Can reproduce easily from examples-docs page with the Chart example at https://blazor.radzen.com/line-chart
Remove the CategoryProperty or set to CategoryProperty=""
Expected behavior
Expect X values to be automatically generated as Index position value when Enumerating the Data array
As per below & screen shot.
This feature is convenient when the data set is a simple list of single property values
Screenshots
After Remove X values should fall back to using the 'Data Row' index for X and go in sequence 0, 1, 2, 3, 4, ..... 10 (etc)
Desktop (please complete the following information):
Dotnet v8
Version [4.23.1] Radzen Blazor Components
The text was updated successfully, but these errors were encountered:
PRIMETSS
changed the title
Radzen Blazor Chart Series CategoryProperty not set is not fall back to using Data Index for X chart values (positions)
Radzen Blazor Chart Series when CategoryProperty not set chart axis rendering is not falling back to using Data Index for X chart values (positions)
Dec 9, 2023
PRIMETSS
changed the title
Radzen Blazor Chart Series when CategoryProperty not set chart axis rendering is not falling back to using Data Index for X chart values (positions)
Radzen Blazor Chart Series when CategoryProperty not set chart axis rendering is not falling back to using Data row Index for X chart values (positions)
Dec 9, 2023
Describe the bug
Radzen Blazor Chart states that if
CategoryProperty - the name of the property which provides value for the X axis of the chart. The property can be string, Date or numeric. If not set RadzenChart will use the index of the data item as its X axis value.
Here
To Reproduce
Can reproduce easily from examples-docs page with the Chart example at https://blazor.radzen.com/line-chart
Remove the CategoryProperty or set to
CategoryProperty=""
Expected behavior
Expect X values to be automatically generated as Index position value when Enumerating the Data array
As per below & screen shot.
This feature is convenient when the data set is a simple list of single property values
Screenshots
After Remove X values should fall back to using the 'Data Row' index for X and go in sequence 0, 1, 2, 3, 4, ..... 10 (etc)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: