Here's a crude example.
GRAPH FILE CAR
SUM PCT.RCOST PCT.SALES
BY COUNTRY
ON GRAPH PCHOLD AS FPGRAPH FORMAT GIF
ON GRAPH SET LOOKGRAPH VBRSTK2S
ON GRAPH SET GRAPHSTYLE *
setPlace(false);
setRect(getChartBackground(),new Rectangle(-16050,-16150,32100,32300));
setFillColor(getChartBackground(),new Color(255,192,0));
setRect(getFrame(),new Rectangle(-12700,-13334,18550,25267));
setFillColor(getFrame(),new Color(255,255,255));
setFrameDisplay(true);
setLegendTextAutofit(true);
setTextJustHoriz(getLegendText(),0);
setLegendAutomatic(false);
setLegendDisplay(true);
setLegendMarkerPosition(0);
setRect(getLegendArea(),new Rectangle(6900,-6667,8650,13867));
setDepthRadius=(0);
setDepthAngle=(0);
setFontSizeAbsolute(false);
setDisplay(getReferenceLine(getY1Axis(),0),true);
setReferenceLine(getY1Axis(),0, 25);
setLineWidth(getReferenceLine(getY1Axis(),0),3);
setFillColor(getReferenceLine(getY1Axis(),0), new Color(255,255,0));
setDataScrollerPresenceGroups(1);
setDataTextDisplay(false);
setSeriesLooping(2);
setSeriesFillColor(0,new Color(0,68,0));
setSeriesFillColor(1,new Color(255,0,0));
setAxisAssignment(0,0);
setAxisAssignment(1,1);
ENDSTYLE
END
Thanks!
Mickey
| FOCUS/WebFOCUS 1990 - 2011 |