Focal Point
Grid Lines with 3D graphs

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8741003631

November 18, 2005, 03:42 PM
Amy
Grid Lines with 3D graphs
I am attempting to do a 3D graph that is merged (grmerge on). When I turn it off, I magically get my grid lines. If I leave it on, they disappear making the graph really hard to follow. I am using WF 5.3.3 in the MRE vs dev studio.
Here is my code:

GRAPH FILE 4GRAPH1B
HEADING
"Count of students enrolled in courses by the courses college"
SUM STUDCNT AS 'STUDENT COUNT'
ACROSS COURSE_COLLEGE_DESC AS 'COURSE COLLEGE'
BY ACADEMIC_YEAR AS 'ACADEMIC_YEAR'
ON GRAPH SET LOOKGRAPH 3D_BAR
ON GRAPH SET 3D OFF
ON GRAPH SET BARNUMB ON
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHEDIT OFF
ON GRAPH SET GRMERGE ON
ON GRAPH SET VZERO OFF
ON GRAPH SET GRAPHSTYLE *
setSeriesType(0,1);
setLegendDisplay(true);
setLegendMarkerPosition(0);
setMarkerDisplay(true);
setUseSeriesShapes(false);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setReverseGroups(true);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setY1LabelDisplay(true);
setY1AxisSide(0);
setTextFormatPreset(getY1Label(),1);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setPieFeelerTextDisplay(1);
setTextFormatPreset(getPieSliceLabel(),1);
setPieRingTotalFormat(1);
setPieLabelDisplay(0);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE= HEADING,LINE=1,JUSTIFY=CENTER,$
TYPE= HEADING,LINE=1,OBJECT=TEXT,ITEM=1,STYLE=BOLD,COLOR=RGB(139 0 0),$
TYPE= DATA, ACROSSCOLUMN= STUDCNT, FOCEXEC=app/level3.fex(CCD=COURSE_COLLEGE_DESC ), $
ENDSTYLE
END
November 18, 2005, 04:46 PM
Tony A
Amy,

Use the following for grid lines with 3D graphs

setDisplay(getCubeLeftWallGridY(),true);
setDisplay(getCubeRightWallGridY(),true);
setDisplay(getCubeFloorGridX(),true);
setDisplay(getCubeFloorGridZ(),true);
setDisplay(getCubeLeftWallGridZ(),true);
setDisplay(getCubeRightWallGridX(),true);



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 23, 2005, 11:49 AM
Amy
Thanks!!! This worked. I am new to graphing and am limited to the MRE environment.

Amy