Page 1 of 1

Decimal seperator in teechart 7.0.0.4

Posted: Thu Feb 09, 2006 10:49 am
by 9527011
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

Posted: Thu Feb 09, 2006 11:09 am
by narcis
He Oblicore,

Yes, you can use TChart1.Environment.DecimalSeparator.

problem

Posted: Thu Feb 09, 2006 11:37 am
by 9527011
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)

Posted: Thu Feb 09, 2006 10:26 pm
by 14580
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.