Support for very large numbers

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Datagenic
Newbie
Newbie
Posts: 1
Joined: Wed Aug 17, 2011 12:00 am

Support for very large numbers

Post by Datagenic » Thu Apr 05, 2012 7:45 am

When adding very large number teechart throws the below error with respect to Math.Round
example: 9.99973924413977E+259

System.ArgumentOutOfRangeException: Rounding digits must be between 0 and 15, inclusive.
Parameter name: digits
at System.Math.Round(Double value, Int32 digits)
at Steema.TeeChart.Utils.SignificantDifference(Double d1, Double d2)
at Steema.TeeChart.Axis.AxisDraw.DoDefaultLabels()
at Steema.TeeChart.Axis.AxisDraw.DoNotCustomLabels()
at Steema.TeeChart.Axis.AxisDraw.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axis.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axes.Draw(Graphics3D g)
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Support for very large numbers

Post by Sandra » Thu Apr 05, 2012 1:43 pm

Hello Datagenic,

Can you have made a simple code,so we can reproduce your problem?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply