ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NumericFormatMode

Hi ,

 

when i try to change in NumericFormatMode.CreateEngineeringMode("S'Hz'")  in waveformGraph it doesn't show Hz but show only the number 

 Code :

            waveformGraph1.XAxes[0].EditRangeNumericFormatMode = NumericFormatMode.CreateEngineeringMode("S'Hz'");Smiley Sad

 

 Example :

 120000000 Hz 120Mhz

 

 

Output:

 1,2E+08

 

What's up?

Thanks in advance

Simone

 

 

0 Kudos
Message 1 of 3
(3,886 Views)

Solution:

xAxis1.MajorDivisions.LabelFormat = new FormatString(FormatStringMode.Engineering , "S'Hz'");

 

Thanks

 

Simone

0 Kudos
Message 2 of 3
(3,856 Views)

Hi Simone,

please have a look at this link.

I hope it will help!

Bye!

 

Licia

0 Kudos
Message 3 of 3
(3,852 Views)