Unplanned
Last Updated: 03 May 2023 13:08 by Sébastien
Didi
Created on: 29 Apr 2022 05:07
Category: UI for UWP
Type: Bug Report
1
Chart: Axis Border Brush is not applied from theme resources
TelerikChartAxisBorderBrush is not applied when setting in Dark Light ThemeResources from the Telerik Theme Resources https://docs.telerik.com/devtools/universal-windows-platform/common/teleriknamedbrushes 
1 comment
Sébastien
Posted on: 03 May 2023 13:08

I faced the issue.

Thankfully, we can override the style.

            <Style
                x:Key="CustomAxisLineStyle"
                TargetType="Line">
                <Setter Property="Stroke" Value="Red" />
                <Setter Property="StrokeThickness" Value="2" />
            </Style>

        <chart:RadCartesianChart.VerticalAxis>
            <chart:LinearAxis LineStyle="{StaticResource CustomAxisLineStyle}" />
        </chart:RadCartesianChart.VerticalAxis>