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

ChartView DateTimeContinuousAxis OutOfMemory

1 Answer 80 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Domagoj
Top achievements
Rank 1
Domagoj asked on 04 Dec 2012, 08:06 AM
Hello everyone,

I'm using ChartView control and getting a wierd out of memory exception when messing with minimum of DateTimeContinuousAxis on the chart view control. I'm not sure whether I'm doing something wrong here or is this a bug so I'm asking for second opinion.  I've prepared a small project and attached it to this post for reproducing this issue. It creates a small graph with 5 DateTimes from 2012/12/3 10:00 - 2012/12/3 10:40. Axis minimum is set to DateTime.MinValue and maximum to DateTime.MaxValue. When I set new minimum in same hour ie. 2012/12/3 10:59:59, everything is ok. When you set minimum to 2012/12/3 11:00:00 it will cause OutOfMemory exception (not very nice in production environment). :)
Solution: http://dl.dropbox.com/u/2085626/TelerikException.rar
I've also attached a stack trace where it breaks.

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 06 Dec 2012, 07:17 PM
Hello Domagoj,

Thanks for the attached project. I was able to reproduce the problem using it.

Our development team is already aware of this. The bug is logged in our Public Issue Tracker on this link where you can track its status and vote for it.
 
Regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Domagoj
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or