Hi,
I have the below code which produces the combination of BAR and LINE graph in 3D. What I am looking for is to keep the BAR in 3D and change the LINE from 3D to 2D.
I appreciate any help on this.
The Code:
GRAPH FILE CAR
SUM RETAIL_COST
SALES
ACROSS COUNTRY
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 600
ON GRAPH SET VAXIS 330
ON GRAPH SET LOOKGRAPH VBAR2AX
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setSeriesType(0,1);
setSeriesType(1,1);
setSeriesType(2,1);
setSeriesType(3,1);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setReportParsingErrors(false);
setSelectionEnableMove(false);
-*setDepthRadius(0);
setDepthRadius(14);
setRiserWidth(65);
-*setRiserBarGroupSpacing(-200);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeInPoints(getY1Title(),10);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeInPoints(getY2Title(),10);
setFillColor(getChartBackground(),new Color(255,255,255));
setReverseGroups(false);
setMarkerShape(getSeries(2),3);
setLegendMarkerPosition(1);
setDisplay(getLegendArea(),false);
setSeriesType(getSeries(2),2);
setDisplay(getY1MajorGrid(),true);
setDisplay(getY1MajorTick(),true);
setTickStyle(getY1MajorTick(),3);
setDisplay(getY2MajorGrid(),false);
setDisplay(getY2MajorTick(),true);
setTickStyle(getY2MajorTick(),3);
setTransparentBorderColor(getChartBackground(),true);
setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getO1Label(),9);
setFontStyle(getO1Label(),0);
setTextRotation(getO1Label(),3);
setTextJustHoriz(getO1Label(),2);
-*
setPlace(false);
setPlaceResize(getY2Label(),0);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeInPoints(getY2Label(),8);
setFontStyle(getY2Label(),0);
setTextFormatPattern(getY2Label(),"##,###");
setTextFormatPreset(getY2Label(),-1);
setPlaceResize(getY1Label(),0);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeInPoints(getY1Label(),8);
setFontStyle(getY1Label(),0);
setTextFormatPreset(getY1Label(),6);
-*
setTextString(getY2Title(),"Sales");
setDisplay(getY2Title(),true);
setFontSizeAbsolute(getSubtitle(),true);
setFontSizeInPoints(getSubtitle(),10);
-*
setDisplay(getY1Title(),true);
setTextString(getY1Title(),"Retail Cost ");
setTextString(getSubtitle(),"");
-*
setLegendDisplay(true);
setTextJustHoriz(getLegendText(),3);
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
-*
setScaleMinAuto(getY2Axis(),false);
setScaleMin(getY2Axis(),0.0);
-*
setUseSeriesShapes(true);
-*
setSeriesType(getSeries(1),2);
-*setLineWidth(getSeries(0),10);
setMarkerShape(getSeries(1),2);
setFillColor(getSeries(1),new Color(0,0,255));
setMarkerSize(getSeries(1),35);
setTransparentBorderColor(getSeries(1),false);
-*setLineBasicStrokeType(getSeries(1),11);
-*
setSeriesType(getSeries(0),0);
setMarkerShape(getSeries(0),1);
setFillColor(getSeries(0),new Color(143,182,52));
setRect(getFrame(),new Rectangle(-10700.0,-5585.0,20200.0,18857.0));
-*
setFontStyle(getFootnote(),2);
setTextJustHoriz(getFootnote(),0);
setFontName(getFootnote(),"Arial");
setFontSizeAbsolute(getFootnote(),true);
setFontSizeInPoints(getFootnote(),11);
ENDSTYLE
ON GRAPH SET STYLE *
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=7,
BACKCOLOR='WHITE',
$
ENDSTYLE
END
Thanks,
Reddy
Prod: WebFOCUS 8.1.05 on Win 10
Test: WebFOCUS 8.1.05 on Win 10