Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Visualization Editor composites format string as input. The formatting operation yields a result string that consists of the original fixed text intermixed with the string format representation. This makes the values in visualization easy to read and more understandable.

Examples

  • Numeric Format Strings:

 Applying some custom numeric format strings to specific data types and values. In this example we will change the Text Format of Temperatur: 

{0:p} or {0:P}  
represents percentage e.g. 1,500.00%
{0:00.0}°C  
will Round the number to 1 number after comma  e.g. 22.2 °C


  • DateTime Format Strings:  

Represents a custom DateTime format string.

{0:d} represents Short Date Pattern e.g. 12/10/2020

{0:d} represents Short Date Pattern e.g. 12/10/2020

{0:dddd} represents full name of the day of the week e.g. Wednesday

{0:yyyy} represents Represents the year as a four-digit number. e.g. 2018




  • No labels