MarkedZones with zoom

4 posts, 0 answers
  1. Georgi
    Georgi avatar
    6 posts
    Member since:
    Aug 2010

    Posted 09 Sep 2010 Link to this post

    I am trying to add a MarkedZone on my scatter chart. Everything works fine, before I enable the zoom. After zooming the zone is no more accurate to the the points on the chart or vice versa (if there were some points inside the chart, they disappear).

    (Please look at the attached sample project - I've added points on each corner and in the middle of the zone so you can see the problem)

    OK, can't upload a ZIP. Look at the attached snapshots.
  2. Nikolay
    Admin
    Nikolay avatar
    397 posts

    Posted 14 Sep 2010 Link to this post

    Hello Georgi,

    We have been able to reproduce the problematic behavior regarding the missing points after zooming but our developers will need a bit more time to investigate this issue.

    Meanwhile, could you, please, try adding a fixed manual range for both AxisX and AxisY. Would this improve the accuracy of zooming on your side as well?

    All the best,
    Nikolay
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Georgi
    Georgi avatar
    6 posts
    Member since:
    Aug 2010

    Posted 16 Sep 2010 Link to this post


    Ok it works when I set AutoRange to False and give values to MinValue and MaxValue for each axis.

    But here comes my next problem - my real case is to emphasize on a group of points (an area) where the so called "interesting values" reside. I use this code:

     

     

    MarkedZone zone = new MarkedZone();

     

    zone.StartX = 2;

    zone.EndX = 4;

    zone.StartY = 2;

    zone.EndY = 4;

    zone.Background = new SolidColorBrush(Colors.Transparent);

    zone.Stroke =

     

    new SolidColorBrush(Colors.Red);

     

    zone.StrokeThickness = 1.0;

     

     

     

     

     

     

    radChart1.DefaultView.ChartArea.Annotations.Add(zone);


    Everything works fine until I zoom the chart (snapshots are attached). My zone's bounds are outside the viewport (right-hand side), but I can still see the border which is confusing. The user could easily think that this is the end of the marked zone and never scroll right to see that it continues...

    What about this problem?
  4. Nikolay
    Admin
    Nikolay avatar
    397 posts

    Posted 21 Sep 2010 Link to this post

    Hi Georgi,

    We are aware of the issue with the zone borders appearing inappropriately and our developers are already on the task, so a fix will be provided in one of the future versions of the control. We are still unsure whether it would make it for the official 2010.Q2.SP2 release, though.

    Greetings,
    Nikolay
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top