getGaugeBand1...5()

These methods return the object ID of the segments of the band in a gauge graph.

Syntax:

IdentObj getGaugeBand1();
IdentObj getGaugeBand2();
IdentObj getGaugeBand3();
IdentObj getGaugeBand4();
IdentObj getGaugeBand5();

Example:

setBorderColor(getGaugeBand1(),new Color(255,255,255));
setBorderColor(getGaugeBand2(),new Color(0,0,0));
setBorderColor(getGaugeBand3(),new Color(0,0,255));
setBorderColor(getGaugeBand4(),new Color(255,0,0));
setBorderColor(getGaugeBand5(),new Color(255,255,255));
setDisplay(getFrame(), false);

gauge graph


WebFOCUS