Change Scrollbar Style

2 posts, 0 answers
  1. Carlos Alberto
    Carlos Alberto avatar
    12 posts
    Member since:
    Apr 2014

    Posted 29 May 2014 Link to this post

    Hello, 

    I would ask if I can change the style of the scrollbar RadCartesianChart.

    thanks in advance!.
  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 02 Jun 2014 Link to this post

    Hi Carlos,

    In order to customize the appearance of the chart's scrollbar you can define a Style targeting PanZoomBar element and set it on the PanZoomBarStyle property of the axis. 
    <telerik:CategoricalAxis>
        <telerik:CategoricalAxis.PanZoomBarStyle>
            <Style TargetType="telerik:PanZoomBar">
                <Setter Property="Background" Value="Red" />
                <Setter Property="Height" Value="30" />
            </Style>
        </telerik:CategoricalAxis.PanZoomBarStyle>
    </telerik:CategoricalAxis>

    I hope this helps.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
Back to Top