cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Chart Widget Axis Formatting

berkob
12-Amethyst

Chart Widget Axis Formatting

Hello,

 

On the chart widgets there is a property named, YAxisFormat, that is given a default value of "0000.0". My question is, what is the format string that equates to whole numbers such as, 1, 2, 3, ... etc.?

 

Thanks

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:berkob)

Hi @berkob 

 

The format indicates the number of digit before and after the decimal marker.

So if you do not want decimal and only integer, you can use 000 if you know that you won't have number longer than 3 digits.

 

Hope this helps

Christophe

 

View solution in original post

2 REPLIES 2
cmorfin
19-Tanzanite
(To:berkob)

Hi @berkob 

 

The format indicates the number of digit before and after the decimal marker.

So if you do not want decimal and only integer, you can use 000 if you know that you won't have number longer than 3 digits.

 

Hope this helps

Christophe

 

slangley
23-Emerald II
(To:berkob)

Hi @berkob.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags