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

RadChart Designer Crash

2 Answers 48 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean McConnell
Top achievements
Rank 1
Sean McConnell asked on 31 Mar 2008, 06:36 PM
This may be related to the other crash we are seeing with the Runtime, but this is far easier to reproduce:

1. Make a new windows app project.
2. Drag RadChart control onto form, leave default settings.
3. Vertically size the chart to make it smaller - once small enough, the entire development environment will crash (hard lock).

This appears to  be related to the Legend, because I can size the chart down to the size of the legend, but if I go any smaller, it crashes.

EDIT: This was performed using Visual Studio 2005 Version 8.0.50727.867 (vsvista.050727-8600) on Windows Vista 32-bit (no SP1).

2 Answers, 1 is accepted

Sort by
0
Sean McConnell
Top achievements
Rank 1
answered on 31 Mar 2008, 11:09 PM
The source of this problem has been located.

In RenderEngine.cs

The method:

private SizeF MeasureLabel(ExtendedLabel label)
{
...
}

This method begins a loop at Line#2250

for(int i=0;i<itemsCount;i++)

Within this loop, some conditional code does this (Line#2282):

 i--;

Obviously, this loop gets stuck, locking up Visual Studio.


0
Nikolay
Telerik team
answered on 01 Apr 2008, 12:18 PM
Hello Randall Kohltfarber,

Thank you for bringing our attention to this issue.

I was able to reproduce it and it will be addressed for one of our future versions.

Your Telerik points were updated. If you have additional questions, do not hesitate to contact me.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (obsolete as of Q1 2013)
Asked by
Sean McConnell
Top achievements
Rank 1
Answers by
Sean McConnell
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or