String format for ticks on gauge

1 Answer 42 Views
Gauges
Oscar
Top achievements
Rank 1
Iron
Oscar asked on 19 Jul 2023, 07:52 AM

Hello,

I'm building a gauge specifying custom ticks. The gauge is pretty narrow in range, and the ticks fall on double values, like 2.3421 and 4.5214.

It looks like the ticks are getting rounded to int, but I want them to maybe apply a string format to them to display 2 decimal values, how can I do this?

1 Answer, 1 is accepted

Sort by
0
Oscar
Top achievements
Rank 1
Iron
answered on 19 Jul 2023, 08:43 AM
Found this on the Scale


LabelFormat="{}{0:0.00}"
Tags
Gauges
Asked by
Oscar
Top achievements
Rank 1
Iron
Answers by
Oscar
Top achievements
Rank 1
Iron
Share this question
or