Overflow error with Double.NaN values

2 posts, 0 answers
  1. Gero
    Gero avatar
    2 posts
    Member since:
    Feb 2011

    Posted 18 Feb 2011 Link to this post

    Hi,

    setting the AxisY.Step, AxisY.MaxYValue,... properties to Double.NaN results in a overflow error:
    Stacktrace:

       at System.Convert.ToInt64(Double value)
       at Telerik.Windows.Controls.Charting.AxisRange.get_ActualIntervalCount()
       at Telerik.Windows.Controls.Charting.AxisY.BuildAxisData()
       at Telerik.Windows.Controls.Charting.Axis.UpdateAxis()
       at Telerik.Windows.Controls.Charting.AxisY.UpdateAxis()
       at Telerik.Windows.Controls.Charting.Axis.ChartAreaDataChanged(Object sender, EventArgs e)
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 21 Feb 2011 Link to this post

    Hi Gero,

    I tested the properties in question, and the control behaved as expected.
    If the problem persists at your end, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and advise you further.

    All the best,
    Yavor
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top