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)
Support for very large numbers
Re: Support for very large numbers
Hello Datagenic,
Can you have made a simple code,so we can reproduce your problem?
Thanks,
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 |
Instructions - How to post in this forum |