Was that picture of html taken before or after the div disappeared? I note the div has 0 height and width - may be related...
This will remove the element from the dom and not knowing how the labels div position and size is calculated, it may be related. To rule it out, try using visbility: hidden; for that instead.
I'm trying to do something similar, but I want to hide the min/max (my gauge is 2X2 and the min/max overlap with the value). I've tried to find where I could do that, but I can't find the css attribute - would you know?
NOTE: I am also hiding the needle and the min/max in this gauge via css overrides, but if you only want to hide the "arc" without css, the 0px will also work.