Stroke colour inside chart axis does nothing #607

Closed
opened 2026-01-29 17:40:09 +00:00 by claunia · 0 comments
Owner

Originally created by @SGeorgeFramatome on GitHub (Oct 27, 2022).

Setting the stroke colour in a RadzenGridLines inside of a ValueAxis or CategoryAxis does nothing.

Changing StrokeWidth works, but setting Stroke does nothing.
Setting Stroke to "black" or "#000000" does not make it change from default grey.

Putting Stroke attribute on the RadzenValueAxis entity only changes the colour for that single outside axis line, none of the internal lines.

I'd expect putting Stroke onto the RadzenGridLines to change the colour of that axis internal grid lines from default grey colour...

<RadzenValueAxis FormatString="{0:C2}">
<RadzenGridLines LineType=LineType.Solid StrokeWidth="2" Stroke="#000000" Visible="true" />
<RadzenAxisTitle Text="Test" />
</RadzenValueAxis>
Originally created by @SGeorgeFramatome on GitHub (Oct 27, 2022). Setting the stroke colour in a RadzenGridLines inside of a ValueAxis or CategoryAxis does nothing. Changing StrokeWidth works, but setting Stroke does nothing. Setting Stroke to "black" or "#000000" does not make it change from default grey. Putting Stroke attribute on the RadzenValueAxis entity only changes the colour for that single outside axis line, none of the internal lines. I'd expect putting Stroke onto the RadzenGridLines to change the colour of that axis internal grid lines from default grey colour... ``` <RadzenValueAxis FormatString="{0:C2}"> <RadzenGridLines LineType=LineType.Solid StrokeWidth="2" Stroke="#000000" Visible="true" /> <RadzenAxisTitle Text="Test" /> </RadzenValueAxis> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#607