hide the scroll bars in RadCartesianChart

3 posts, 1 answers
  1. Александр
    Александр avatar
    1 posts
    Member since:
    Oct 2015

    Posted 29 Oct 2015 Link to this post

    Hello.
    I use the <telerik:ChartPanAndZoomBehavior DragMode="Pan" PanMode="Both" ZoomMode="Both" /> for scaling the RadCartesianChart.
    How I can hide the scroll bars?
  2. Answer
    Dinko
    Admin
    Dinko avatar
    204 posts

    Posted 30 Oct 2015 Link to this post

    Hello Александр,

    You can hide the vertical and the horizontal scroll bar of the RadChartView by applying an implicit Style to the PanZoomBar like so:

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

    I have attached a sample project where you can see this implemented. Give it a try and let me know if this is the solution you are looking for.

    Regards,
    Dinko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yaroslav
    Yaroslav avatar
    123 posts
    Member since:
    Jan 2016

    Posted 28 Sep in reply to Dinko Link to this post

    Nice solution! Finally I found the solution to my problem similar by this post.
Back to Top