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

Crash when turning Item Labels on for certain graph

1 Answer 25 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 23 Mar 2012, 11:53 AM
Hi,

Version: 2011 Quarter 2

When I turn the Item Labels on for a particular chart I'm drawing, the whole chart control crashes and I end with just a white blank area.

Details of the graph:

 - X Axis is a boolean type
 - 3 Dataseries - Amount (bar chart), lots (bar chart) and price (spline)
 - 145 datapoints for each series
 - 3 y-axes (using the two additional axes) (lots is on the main, amount is on 1st additional, price is on 2nd additional)
 - amount min = 1.00, max = 100,000.00
 - lots min = 0, max = 100,000.00
 - price min = 0, max = 593,991,473.00

I've narrowed it down the "price" dataseries being on the 2nd additional y-axis causing the crash when I turn the show item labels on (it happens if it's a spline or a bar so I don't think the chart type matters).  If I move it onto the 1st additional axis it doesn't crash.  It also doesn't crash if I move one of the other dataseries onto the 2nd additional axis.

The graph draws ok in all scenarios - it only crashes when I turn the showing of item labels on (it's bound to a boolean property in our viewmodel).

Has this kind of crash been seen before?

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 28 Mar 2012, 12:11 PM
Hi Chris,

So far we have not encountered the problems that you described.

I created a test project based on your description. In the test the chart is printed correctly with 145 points and 3 series mappings. I am attaching the project to this post so that you can also test it.

If you keep experiencing issues with this you can send us some code that reproduces this issue, so we can test and investigate where the origins of the problem are.

Kind regards,
Petar Marchev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Chris
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or