Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.27 KB

kb-chartview-hide-axis-scrollbar.md

File metadata and controls

47 lines (40 loc) · 1.27 KB
title description type page_title slug position tags ticketid res_type
How to Hide the Horizontal/Vertical Scrollbar of RadCartesianChart Axis
Hide the PanZoomBar (scrollbar) element of the RadChartView axis by changing its visibility.
how-to
How to Hide the PanZoomBar ScrollBar of RadChartView axis
kb-chartview-hide-axis-scrollbar
0
style,setter,panzoombar,scrollviewer,visibility
1404933
kb

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.

[XAML]

{{region kb-chartview-hide-axis-scrollbar-0}} telerik:RadCartesianChart.HorizontalAxis telerik:CategoricalAxis telerik:CategoricalAxis.PanZoomBarStyle <Style TargetType="telerik:PanZoomBar"> </Style> </telerik:CategoricalAxis.PanZoomBarStyle> </telerik:CategoricalAxis> </telerik:RadCartesianChart.HorizontalAxis> {{endregion}}

See Also

  • [Axis]({%slug radchartview-axes-axis%})