How to Hide the Horizontal/Vertical Scrollbar of RadCartesianChart Axis

Environment

Product Version 2019.1 408
Product RadChartView for WPF

Description

How to hide the horizontal/vertical scrollbar (the PanZoomBar) of RadCartesianChart axis.

Solution

Define a Style that targets the PanZoomBar control and set it to the PanZoomBarStyle property of the corresponding chart axis.

<telerik:RadCartesianChart.HorizontalAxis> 
    <telerik:CategoricalAxis> 
        <telerik:CategoricalAxis.PanZoomBarStyle> 
            <Style TargetType="telerik:PanZoomBar"> 
                <Setter Property="Visibility" Value="Collapsed"/> 
            </Style> 
        </telerik:CategoricalAxis.PanZoomBarStyle> 
    </telerik:CategoricalAxis> 
</telerik:RadCartesianChart.HorizontalAxis> 

See Also

In this article
Not finding the help you need? Improve this article