Red cross error chart when adding large values line

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
OM Partners
Newbie
Newbie
Posts: 8
Joined: Mon Jun 02, 2014 12:00 am

Red cross error chart when adding large values line

Post by OM Partners » Tue Jul 22, 2014 9:38 am

Hi,

We are currently using TeeChart.NET version 4.1.2012.5103, and we have the following issue.
When adding a line to our chart that contains points with values that are all the same and above 10^15, our chart shows a red cross, which I assume indicates an error.

This red cross error does not appear when adding points with different values above 10^15, or when adding points with values that are all the same and below 10^15.
In these cases, normal charts are shown, as we want them.

I have made a code example to illustrate the problem:

Code: Select all

private void InitializeChart()
    {
      Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
	  // Adding 2 points with same value 10^15 or larger results in red cross
      line.Add(1000000000000000.0);
      line.Add(1000000000000000.0);
	  // Adding 2 points with value less than 10^15 results in normal chart
      // line.Add(999999999999999.0);
      // line.Add(999999999999999.0);
	  // Adding 2 points with different value of 10^15 and larger results in normal chart
      // line.Add(1000000000000000.0);
      // line.Add(1000000000000001.0);
    }

Is it possible to check whether this issue still appears in the latest version of TeeChart.NET, or whether there is something we can do about this error?
Thank you very much!

Best regards,
Steven

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Red cross error chart when adding large values line

Post by Christopher » Tue Jul 22, 2014 9:58 am

Hello Steven,
OM Partners wrote: Is it possible to check whether this issue still appears in the latest version of TeeChart.NET, or whether there is something we can do about this error?
This issue does not appear in the latest version of TeeChart.NET, and the Chart paints correctly without an error.
Best Regards,
Christopher Ireland / 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

OM Partners
Newbie
Newbie
Posts: 8
Joined: Mon Jun 02, 2014 12:00 am

Re: Red cross error chart when adding large values line

Post by OM Partners » Wed Jul 23, 2014 11:12 am

Thank you very much for the reply, Christopher.
I will pass this on to our TeeChart responsible again, so hopefully we can soon migrate to the latest version of TeeChart.NET.

Post Reply