June 04, 2004, 04:42 PM
<kj>Graph Heading align
Webfocus 5.21 Win2k
Is there a method to center align graph heading.
I want to center align the country and change the font.(The Country in the heading is a database field. Forum does not alow me to to put field tag)
GRAPH FILE CAR
HEADING
"COUNTRY"
SUM SALES
BY COUNTRY
ACROSS CAR
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setSeriesType(0,1);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Label(),true);
setFontSize(getY1Label(),10);
ENDSTYLE
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET GRWIDTH 2
END
Any help would be greately appreciated.
Thanks,
kj
June 09, 2004, 11:27 AM
Tony AKJ,
Try -
HEADING CENTER
and then -
ON GRAPH SET STYLE *
TYPE=HEADING, COLOR=RGB(139 254 239), SIZE=10, $
ENDSTYLE