This is a migrated thread and some comments may be shown as answers.

MarkedZones with zoom

3 Answers 94 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Georgi
Top achievements
Rank 1
Georgi asked on 09 Sep 2010, 01:11 PM
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.

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Sep 2010, 12:48 PM
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
0
Georgi
Top achievements
Rank 1
answered on 16 Sep 2010, 02:59 PM

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?
0
Nikolay
Telerik team
answered on 21 Sep 2010, 07:30 AM
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
Tags
Chart
Asked by
Georgi
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Georgi
Top achievements
Rank 1
Share this question
or