Scatterchart, zoom. Zooms the wrong cordinates

2 posts, 0 answers
  1. Felix
    Felix avatar
    1 posts
    Member since:
    Jun 2010

    Posted 08 Jul 2013 Link to this post


    I have a scatterchart with lots of datapoints.
    Values from -100 % to 3 000 000 %.

    When I apply zoom to one or more points, the zoom are gets totally wrong.
    For example the zoom area could be set to -200 % -400 %; even though I zoom on a point that had a positive number.

    This issue applies to both axes, every time I zoom.

    Any ideas?
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 10 Jul 2013 Link to this post

    Hi Felix,

    I have created a simple project based on your description. I tested with both the latest internal assemblies and dlls from the last official release. I was unable to reproduce the issue that you have described. I have attached the project I tested with and a snapshot of the output (for the snapshot I have used dlls from the last official release 611).

    I will suggest that you download the latest version of our controls and see if the issue persists. If it does, you can send a small project (all the code for it) and a picture of before and after zooming in. This way we can look for where the problem hides and do our best to fix it.

    Currently I can only make a blind suggestion to set the Width of both the horizontal and vertical axes labels to a certain Width:
      <Style TargetType="TextBlock">
       <Setter Property="Width" Value="50" />

    I suggest this because zooming highly depends on the size of the visible labels and when the labels change (respectively their size changes) the chart has to readjust the size of the plot area and pan offset and this might lead to slight displacement.

    Petar Marchev
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top