PanZoomBarStyle in RadCartesianChart

2 posts, 0 answers
  1. Lee
    Lee avatar
    30 posts
    Member since:
    Apr 2014

    Posted 09 May 2014 Link to this post

    My code is below that

    public class MultiVerticalAxisConverter : IMultiValueConverter
    {
       NumericalAxis verticalAxis = null;
       LinearAxis axis = new LinearAxis();

       ....

       //axis.PanZoomBarStyle
       // About SelectedStart & End Setting

       verticalAxis = axis;

       return verticalAxis;
    }

    I want to set when created verticalAxis.

    Such as below .xaml code.

                            <Style TargetType="telerik:PanZoomBar">
                                <Setter Property="SelectionStart" Value="{Binding Ribbon.ZoomData, Mode=TwoWay}"/>
                                <Setter Property="SelectionEnd" Value="{Binding .Ribbon.ZoomData, Mode=TwoWay}"/>
                                <Setter Property="Visibility" Value="Collapsed"/>
                            </Style>

    What should I do?
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 12 May 2014 Link to this post

    Hi Lee,

    I am not sure that I understand your scenario and your question. Could you please be more specific and elaborate more on your scenario? Are you trying to set the vertical axis of the RadChartView control or you try to bind the SelectionStart and SelectionEnd properties to the axis?

    Regards,
    Pavel R. Pavlov
    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. UI for WPF is Visual Studio 2017 Ready
Back to Top