Page 1 of 1

How to set gauge series axis label format?

Posted: Thu Nov 10, 2016 8:47 am
by 16677910
The following line seems to do nothing:

gauge.GetAxis().GetLabels().SetValueFormat(_T("0"));

Used TeeChart Editor to check label format and value format remains unchanged...

Latest version VS2012 compiler.

Re: How to set gauge series axis label format?

Posted: Fri Nov 11, 2016 9:43 am
by yeray
Hello,

I could reproduce the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1682

Re: How to set gauge series axis label format?

Posted: Tue Jan 10, 2017 3:01 pm
by yeray
Hello,

This is just to let you know the ticket #1682 has been closed as "Not a bug". You can access ValueFormat directly in the series:

Code: Select all

TChart1.Series(0).ValueFormat = "0.00"