Page 1 of 1

Series Add Method - dealing with #s greater than 15 digits

Posted: Sat Mar 14, 2009 9:03 pm
by 10550242

I have been using TChart for years - and it is a great product (thank you).

Recently I needed to upgrade the application I have been writing - and it needs to support at least Int64 fields for storing the information. However, when I went to change the calls to ADD for the series - I noticed that they are using DOUBLE size fields - which are only 15 digits in significance - where the Int64 are 19 digits in signicance.

Do - you have any plans to support some way of adding larger values to TeeChart in the future? Maybe use Extended which allow for the 19 digits of signicance (note if you need to move beyond that you will have to use FMTBCD fields...).

Any feedback would be appreciated!!

Bradley MacDonald


function Add(Const AValue: Double; Const ALabel: String; AColor: TColor): Integer; virtual; overload;

Posted: Mon Mar 16, 2009 1:06 pm
by narcis
Hi TimeAcct,

Yes, this is possible changing TChartValue as described here. I'll send you an e-mail with the URL to download current v8 sources which solve the issues Pep mentioned in that thread.

Hope this helps!

Thank you...

Posted: Mon Mar 16, 2009 2:15 pm
by 10550242
Thanks - this looks like it should do the trick. I will test it tonight or tomorrow.