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     Pie Graph from 3 Data Files

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Pie Graph from 3 Data Files
 Login/Join
 
Member
posted
Hi,
I tried to generate a pie graph with the data from 3 data files. Each data file has only one row, like this:
FOCLIST | Count(A)
1 | 44320

Now I would like to have one Pie with three pieces. Like this:

http://www2.zero-hour.de/pie.jpg

Thank you for your help.
Best regards
Daniel


WebFOCUS 5.3.4 on Win XP DB: Oracle
 
Posts: 9 | Location: Germany - Hamburg | Registered: September 13, 2007Report This Post
Virtuoso
posted Hide Post
Daniel,

Before you can start creating the graph, first concatenate the three files.
You can do this in several ways, for instance have the three reports write to the same file using the FILEDEF ... (APPEND statement.
You could also use the DOS TYPE file >> otherfile syntax.
Once the data is in the same data file you can start to create your graph.

GamP


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Hi,

I used the function(?) 'MORE'.

This is my code:

TABLE FILE MAX037DB
PRINT
MAX037DB.SEG01.COUNT_DISTINCTB_MATANFO_POS_ID_ AS 'A'
BY MAX037DB.SEG01.FOCLIST AS 'FOCLIST'
ON TABLE HOLD AS HOLD1
MORE
FILE MAX038DB
MORE
FILE MAX039DB
END

GRAPH FILE HOLD1
PRINT *
ACROSS FOCLIST
ON GRAPH SET LOOKGRAPH PIEMULTI
.
.
.
ENDSTYLE
END

The result looks like this now:
http://www2.zero-hour.de/pie.png

How can I make the left pie invisible?
Tanks Daniel


WebFOCUS 5.3.4 on Win XP DB: Oracle
 
Posts: 9 | Location: Germany - Hamburg | Registered: September 13, 2007Report This Post
Virtuoso
posted Hide Post
Daniel,
Try to do:
GRAPH FILE HOLD1
PRINT COUNT_DISTINCTB_MATANFO_POS_ID_
ACROSS FOCLIST
ON GRAPH SET LOOKGRAPH PIEMULTI
.
.
.
ENDSTYLE
END

This should do the trick.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thank You very much - your solution works perfect!


WebFOCUS 5.3.4 on Win XP DB: Oracle
 
Posts: 9 | Location: Germany - Hamburg | Registered: September 13, 2007Report 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     Pie Graph from 3 Data Files

Copyright © 1996-2020 Information Builders