Edit this page

Customizing Axes by Using Implicit Styles

RadChartView supports several types of axes. All of them are represented by the abstract Axis class that is responsible for displaying the labels and ticks.

radchartview-styles-and-templates-customizing-axes

This relates the UI in the following way – there is simply no separate Style for each Axis Type. Instead all axes are BasedOn one and the same style with Key AxisStyle. Each time you want to customize your axis you should inherit this style in XAML. For example:#XAML

<FrameworkElement.Resources>
    <Style TargetType="telerik:DateTimeContinuousAxis" BasedOn="{StaticResource AxisStyle}">
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontSize" Value="13" />
    </Style>
</FrameworkElement.Resources>

See Also