Decimal seperator in teechart 7.0.0.4

TeeChart for ActiveX, COM and ASP
Post Reply
Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

Decimal seperator in teechart 7.0.0.4

Post by Oblicore » Thu Feb 09, 2006 10:49 am

Hi,
Is there a way to override teechart decimal seperator definitions?

E.G. if the decimal seperator is '.' we would like teechart to use ',' instead. (like in german regional setting) without changing the regional settings of the user/server.

thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Feb 09, 2006 11:09 am

He Oblicore,

Yes, you can use TChart1.Environment.DecimalSeparator.
Best Regards,
Narcís Calvet / 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

Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

problem

Post by Oblicore » Thu Feb 09, 2006 11:37 am

this property has only 'get' method and no 'put' one

compiler message:
TeeChart::IEnvironment::DecimalSeparator' : no 'put' method is associated with this property

is there a put method anywhere for the decimal seperator? (we are using c++ in VS environmanet)

SpongeBob
Newbie
Newbie
Posts: 11
Joined: Fri Nov 15, 2002 12:00 am

Post by SpongeBob » Thu Feb 09, 2006 10:26 pm

Hi,
I have version 4, so it maybe different, but there is
CSeries::SetValueFormat(LPCTSTR lpszNewValue) that I think you could use.
You need to do this for all series.

Post Reply