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

Overflow error with Double.NaN values

1 Answer 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Gero
Top achievements
Rank 1
Gero asked on 18 Feb 2011, 04:07 PM
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)

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 Feb 2011, 12:58 PM
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!
Tags
Chart
Asked by
Gero
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or