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     <CLOSED> Drilling down from a multigraph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
<CLOSED> Drilling down from a multigraph
 Login/Join
 
Member
posted
I'm hoping I'm missing the obvious here but the code below works for the first
element in the stack bar but not the others. If you take it off multigraph by
setting to GRMERGE ON itworks like a dream. Any ideas on how to make it work
with the multigraph ???

Thanks,
Paul

  
GRAPH FILE CAR
SUM CAR.BODY.DEALER_COST
BY CAR.ORIGIN.COUNTRY NOPRINT
BY CAR.CARREC.MODEL
ACROSS CAR.BODY.SEATS
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 1
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, FOCEXEC=ANOTHERFEX(MODEL=CAR.CARREC.MODEL), $
ENDSTYLE
END

This message has been edited. Last edited by: Madasabear,


Developer Studio Release : 7.6.11
 
Posts: 21 | Location: TataSteel Strip Products UK , Port Talbot , South Wales | Registered: November 28, 2006Report This Post
Expert
posted Hide Post
Hi Paul,

I think this may be what you are looking for:
  
APP PREPENDPATH IBISAMP
-RUN
TABLE FILE CAR
SUM 
   CNT.DST.MODEL
ON TABLE SAVE
END
-RUN
-READ SAVE &CNT.I5.
-DEFAULTS &MODEL = 'FOC_NONE'
GRAPH FILE CAR
SUM CAR.BODY.DEALER_COST
-*BY CAR.ORIGIN.COUNTRY NOPRINT
BY CAR.CARREC.MODEL
ACROSS CAR.BODY.SEATS
-IF &MODEL EQ 'FOC_NONE' GOTO SKIP_1;
WHERE MODEL EQ '&MODEL';
-SKIP_1
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH &CNT
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, FOCEXEC=CAR_RPT(MODEL=MODEL), $
ENDSTYLE
END
-EXIT

I am calling the same fex, CAR_RPT...
Probably won't open back in the GUI, though...

hth


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Not quite what I was looking for this is on a single graph which I can
get working , what I'm after ideally is a series of graphs that can be
drilled down from.

Thanks for your attention though,
Paul


Developer Studio Release : 7.6.11
 
Posts: 21 | Location: TataSteel Strip Products UK , Port Talbot , South Wales | Registered: November 28, 2006Report 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     <CLOSED> Drilling down from a multigraph

Copyright © 1996-2020 Information Builders