can anyone please help me with this?
SET HAXIS=270, VAXIS=270
GRAPH FILE DSHDATA
SUM COMPUTE UTIL_VAL/D6=96.7; AS ''
ACROSS WEEK_OUT_TXT
WHERE WEEK_OUT_NUMBER EQ 3
ON GRAPH SET LOOKGRAPH GAUGE1
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setDisplay(getGaugeTitle(),false);
setGaugeBandMin(getGaugeBand1(), 69.5 );
setGaugeBandMax(getGaugeBand1(), 82.5 );
setGaugeBandMin(getGaugeBand2(), 82.5 );
setGaugeBandMax(getGaugeBand2(), 95.0 );
setGaugeBandMin(getGaugeBand3(), 95 );
setGaugeBandMax(getGaugeBand3(), 107.5 );
setGaugeBandMin(getGaugeBand4(), 92 );
setGaugeBandMax(getGaugeBand4(), 93 );
setY1ScaleMin(65);
setY1ScaleMax(110);
setFillColor(getGaugeBand1(), new Color(255,0,0));
setFillColor(getGaugeBand2(), new Color(250,200,0));
setFillColor(getGaugeBand3(), new Color(0,255,0));
setFillColor(getGaugeBand4(), new Color(255,255,255));
setFillColor(getGaugeNeedle(), new Color(120,120,120));
setDisplay(getGaugeTitle(),false);
setSeriesLabel(0," ");
setPlace(false);
setGaugeNeedleStyle(5);
setScaleMaxAuto(false);
setY1LabelDisplay(true);
setGaugeBackgroundStyle(5);
setGaugeRelativeThickness(0.20);
ENDSTYLE
Even though I have tried to assign amber color between values 82.5 and 95, yet in the final graph, somehow the entire strip from 80 till 100 is coming up in RED color.
I am not sure what is hapenningm because when I multiply everything by 10, so that the scale gets expanded to 650 - 1100, I am getting the bands as expected. From 825 to 950, I am getting amber.
Please help me with this.
Web Focus 7.1.6
Hosted on Unix Box