ChartView DateTimeContinuousAxis OutOfMemory

2 posts, 0 answers
  1. Domagoj
    Domagoj avatar
    4 posts
    Member since:
    Oct 2012

    Posted 04 Dec 2012 Link to this post

    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). :)
    I've also attached a stack trace where it breaks.
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 06 Dec 2012 Link to this post

    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.
    Petar Kirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top