LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting Gauge Indicator NXG Web Module

Solved!
Go to solution
Highlighted

I am trying to find the documentation to customize the gauge indicator from the NXG Web Module. In all the examples that I have found, there is information about almost every other control and indicator, but not for this one. I have tried to use these examples to customize the gauge but it seems that it doesn't work for this indicator.

 

What I'm trying to do is set the gauges' track labels color to green, the fill color to yellow, and also the needle's color to red.

 

I am using the next css code to customize the gauge, I use the same one for a tank indicator so you can see that the formatting works for it, but not for the gauges. Also, I share the image of how these indicators look.

 

Capture 1.PNG

Capture 2.PNG

Do you know any way to change these attributes from this indicator?

 

Thanks in advance,
Diego Grajales

0 Kudos
Message 1 of 2
(174 Views)
Highlighted
Solution
Accepted by topic author Didash

I was finally able to change the indicator as I wished. It was a lot more complicated than I expected. I had to view the internal css code generated for the webVI and then search for the parameters I was looking for. It seems that if you really want to change the appearance from a control or an indicator you need to view the code generated for the panel.

 

So if you wish to change the appearance from the gauge as I wanted to, here is how my css code and front panel ended looking like:  

Capture 1.PNG

Capture 2.PNG

Hope that you find this useful.

 

Best regards,

Diego Grajales

0 Kudos
Message 2 of 2
(157 Views)