Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Need Bar in 3D but Line in 2D

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Need Bar in 3D but Line in 2D
 Login/Join
 
Silver Member
posted
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
 
Posts: 43 | Registered: January 18, 2007Report This Post
Expert
posted Hide Post
"ON GRAPH SET 3D ON/OFF" is a GRAPH level setting. So, I don't see that it can be done. But, if it can, then someone out there will enlighten us all...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Need Bar in 3D but Line in 2D

Copyright © 1996-2020 Information Builders