Skip to main content
Mar 4, 2020 1:42 PM UTC
Solved

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

cmorfinAnswer
Mar 4, 2020 4:54 PM UTC

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

 

2 replies

cmorfinAnswer
Mar 4, 2020 4:54 PM UTC

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

 

Mar 13, 2020 7:08 PM UTC

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