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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hide Graph Label
 Login/Join
 
Silver Member
posted
In the following example, is there a way to hide one of the BY field labels? I don't want the "Model" labels to show on the x-axis.

Thanks,
Josh

GRAPH FILE CAR
SUM SEATS
BY CAR
BY MODEL
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),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);
setPlace(true);
setDisplay(getAnnotation(0),true);
setDisplay(getO1MajorGrid(),true);
setGridStyle(getO1MajorGrid(),3);
setFillMissingData(1);
setSeriesAreRows(true);
setConnectLineMarkers(true);
setSeriesLooping(1);
setFillColor(getSeries(0),new Color(192,192,192));
setDepthRadius(0);
setDepthAngle(0);
setDisplay(getO1Label(),true);
setAxisSide(getO1Axis(),0);
setPlaceSkip(getO1Label(),1);
setTextString(getO1Title(),"CAR:MODEL");
setDisplay(getO1Title(),true);
ENDSTYLE
END


WebFOCUS 8.0.09
Windows, DB2 iSeries, ODBC
Output: Excel, HTML, PDF, AHTML
 
Posts: 37 | Registered: October 26, 2007Report This Post
<JG>
posted
It should be

setDisplay(getNestedO1Label0(),false);
setDisplay(getNestedO1Label1(),true);
setNestedLabels(true);

However this does not seem to be working in 764
 
Report This Post
Silver Member
posted Hide Post
JG,

Does not seem to work in 765 either. Do you know if this worked in an earlier release? If so then I will open a case with IBI.

-Josh


WebFOCUS 8.0.09
Windows, DB2 iSeries, ODBC
Output: Excel, HTML, PDF, AHTML
 
Posts: 37 | Registered: October 26, 2007Report This Post
Silver Member
posted Hide Post
According to Tech Support you should be able to use BY FIELD NOPRINT to hide labels. However, this will not be avaiable until version 767 at the earliest.

-Josh


WebFOCUS 8.0.09
Windows, DB2 iSeries, ODBC
Output: Excel, HTML, PDF, AHTML
 
Posts: 37 | Registered: October 26, 2007Report This Post
<JG>
posted
Josh

Worked it out

setNestedO1Label(getNestedO1Level(0,0)," ");
setNestedO1Label(getNestedO1Level(0,1)," ");

etc. 1 entry for each label you want to suppress

It's not a problem having more, as long as you have the minimum number for the number of plot points.
 
Report This Post
Silver Member
posted Hide Post
JG,

Worked like a charm!

I did however use a -REPEAT because I have 60+ labels to hide.

Thanks for the idea!
Josh


WebFOCUS 8.0.09
Windows, DB2 iSeries, ODBC
Output: Excel, HTML, PDF, AHTML
 
Posts: 37 | Registered: October 26, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders