Zoom And Scroll feature is not working correctly with track ball behaivour:

11 posts, 1 answers
  1. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 19 Dec 2011 Link to this post

    Hi Team,

    We have used ChartView Control in our sample application. Here we used ZoomandScroll & Trackball behavior.ZoomandScoll behavior is not working as expected. Even we try to change the style for zoom selection
    but its not working.

    We can share a sample code for your reference if you want.
    Please try to solve above issues, blocking us to use ZoomandScroll feature. 

     

     <Style TargetType="chartView:RadChartBase">

    <Setter Property="DragZoomBorderStyle">

    <Setter.Value>

    <Style TargetType="Border">

    <Setter Property="BorderBrush" Value="Green" />

    <Setter Property="BorderThickness" Value="5" />

    <Setter Property="Background" Value="Red" />

    </Style>

    </Setter.Value>

    </Setter>

    </Style>

    Thanks & Regards,

     Vijay

  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 22 Dec 2011 Link to this post

    Hi Vijay,

    You need to modify the TargetType of the implicit style like this:
    <Style TargetType="chart:RadCartesianChart">
        <Setter Property="DragZoomBorderStyle">
            <Setter.Value>
                <Style TargetType="Border">
                    <Setter Property="BorderBrush" Value="Green" />
                    <Setter Property="BorderThickness" Value="5" />
                    <Setter Property="Background" Value="Red" />
                </Style>
            </Setter.Value>
        </Setter>
    </Style>

    Hope this helps.


    Regards,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 22 Dec 2011 Link to this post

    Hi Giuseppe,

    Thanks, for your help on style stuff.

    We are facing issue related to "Zoom And Scroll feature is not working correctly with track ball behaivour" in ChartView control. We have uploaded the sample code for this as well, kindly look into that and help us.

    Thanks,
    Vijay
  5. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 22 Dec 2011 Link to this post

    Hi Vijay,

    We have identified some issues with the zoom precision that will be addressed for the next weekly internal build. Could you elaborate what are the problems you are experiencing with the zoom and scroll feature so we can investigate them locally as well?


    All the best,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 22 Dec 2011 Link to this post

    Hi Giuseppe,

    Thanks for your reply!

    I have uploaded the sample code for this if you will run you would be able to understand my problem. Please have a look of attached images as well.

    Download the uploaded code and run it, the default page will look like screen1:

     

    Once I am increasing the zoom by expanding the horizontal scroll and coming back to original state by dragging this back the graph is not understandable. Perform following steps to repro:

    1. Increase the zoom by dragging the white box of the horizontal scroll.
    2. Scroll the chart area, things looks fine.

      3.  Decrease the zoom up to minimum by dragging back the white box of the horizontal scroll, you would be able to screen2:

    please let me know iif you need any other input from myside.

    Thanks,
    Vijay

  7. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 27 Dec 2011 Link to this post

    Hi Team,

    Any update, on Zoom And Scroll feature is not working correctly with track ball behaivour?

    Thanks,
    Vijay
  8. Answer
    Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 27 Dec 2011 Link to this post

    Hello,

    I suggest that you download the weekly internal build from your account and try it in your project. The LIB will be available for download later this week or in the beginning of the next one.

    Greetings,
    Evgenia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  9. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 27 Dec 2011 Link to this post

    Hi Evgenia ,

    Where will I get the  weekly internal build for download? And what do you mean by LIB?

    Thanks,
    Vijay
  10. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 29 Dec 2011 Link to this post

    Hello Vijay,

    The weekly internal build also known as LIB (latest internal build) is available in the Download section of your Telerik client account.

    Onto your pending zoom/scroll issue -- due to Silverlight limitation it is not possible to render UIElement with width/height that is greater than 32,000 pixels (when you decrease the ZoomBar thumb to a minimum you are effectively crossing this boundary for the PlotArea and that breaks the line series rendering). We would suggest you to control the minimum allowed range span for the zoombar via the PanZoomBar.MinimumRangeSpan property so that at max zoom level, you are within the 32,000 pixel limit for the PlotArea.

    We have attached a modified version of your original application that demonstrates how to set the MinimumRangeSpan via style setter (the application also uses the latest weekly internal binaries).


    Greetings,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Vijay
    Vijay avatar
    8 posts
    Member since:
    Dec 2011

    Posted 29 Dec 2011 Link to this post

    Hi Giuseppe,

    Thanks a lot for your update and solution!

    We did not manipulated/modified anything for plot area, by difault the thumb is coming minimum and giving wrong impression. By default it should come att zoom maximum level.

    Please suggest if I am wrong.

    Thakns,
    Vijay
  12. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 29 Dec 2011 Link to this post

    Hello Vijay,

    The issue with the initial setting of the thumb has already been addressed and you can get the fix in the weekly internal build as well (check the attached sample application in our previous reply that uses these binaries and works correctly).


    Kind regards,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner