Skip to main content
1-Visitor
March 4, 2020
Solved

Chart Widget Axis Formatting

  • March 4, 2020
  • 2 replies
  • 1093 views

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

Best answer by cmorfin

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

cmorfin19-TanzaniteAnswer
19-Tanzanite
March 4, 2020

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

 

Support
March 13, 2020

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