Hi Tom,
Thanks for your quick response. I tried to put code as you mentioned but still behaves same.
I tried Following piece of code with My O1Axis, Y1Axis, Y2Axis
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),1);
setScaleMin ( getY1Axis(), 1);
setScaleMax ( getY1Axis(), 12)
But still didn't work, below is my code to generate graph ( it's pareto Graph)
GRAPH FILE HOLD1
SUM DCNT AS ''
BY FAILURECODE22 AS ''
ON GRAPH SET LOOKGRAPH PARETO
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 SET HAXIS 625
ON GRAPH SET VAXIS 325
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
-SET &I=1;
-SET &J=0;
-REPEAT ENDGROUP &LIM TIMES
setGroupLabel(&J,"&NEWFAILURECODE.&I");
setMarkerDisplay(true);
setConnectLineMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(false);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setY1LabelDisplay(true);
setY2LabelDisplay(false);
setY1AxisSide(0);
setY1MajorGridDisplay(false);
setY2MajorGridDisplay(false);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),1);
setScaleMin ( getY1Axis(), 1);
setScaleMax ( getY1Axis(), 12)
setTextRotation(getO1Label(),0);
setFillColor(getSeries(0),new Color(255,0,0));
setTitleString("8in Equipment Error Code Failure Hours");
setTextJustHoriz(getTitle(),1);
setFontSizeAbsolute(getTitle(),true);
setFillColor(getParetoLineMarker(),new Color(0,0,255));
setRect(getTitle(),new Rectangle(-15111,13550,29850,1800));
setRect(getFrame(), new Rectangle(-13625 -13250 28500 25500));
-*setRiserWidth(40);
setSeriesLineWidthDefault(1);
-SET &I=&I+1;
-SET &J=&J+1;
-ENDGROUP
setDataRangeToExtent();
ENDSTYLE
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
END
Let me know if you find that I am doing which causes and thanks for your quick reply.
WF 7.6.2/ OS WIN2003.
DM 7.6.2