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] APDF with a PIE chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] APDF with a PIE chart
 Login/Join
 
Platinum Member
posted
I have created an APDF with a PIE chart and a Drowndown list. When I run the graph in dev studio I get only 1 graph but when I run it using it in the APDF I get multiple graphs. The list does work so that you can select which group to see.

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='470.0';
GRAPH FILE HPIEFCR
-* Created by Info Assist for Graph
SUM COMPUTE FCR/D12.4=( BFS2/BFS1 ) * 100 ;
BY BUS_UNIT AS 'Business Unit'
BY TRANS_NM AS ' '
HEADING
"Report Pie"
"Run Date: &DATEMDYY"
"From Date: &FR_DT.EVAL To Date: &TO_DT.EVAL"
" "
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 1
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIEMULTP
ON GRAPH SET 3D OFF
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(5);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', REPORT-VIEW=FUSIONCHART, CHART-TYPE=Pie2D, ARGRAPHENGINE=JSFUSION, $
TYPE=HEADING, JUSTIFY=LEFT, FONT='CALIBRI', SIZE=12, COLOR=RGB(66 70 73), STYLE=NORMAL, $
TYPE=FOOTING, JUSTIFY=LEFT, FONT='CALIBRI', SIZE=8, COLOR=RGB(66 70 73), STYLE=NORMAL, $
*GRAPH_SCRIPT
setPieLabelDisplay(0);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setSeriesType(0,1);
setDisplay(getDataText(0), true);
setTextFormatPreset(getY1Label(),28);
setTextFormatPreset(getDataText(),30);
setDataTextPosition(1);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),30);
setPieFeelerTextFormat(-1);
setPieFeelerTextFormatPattern("#0.00%");

*END
ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


dksib
DC Tech Services Inc
WF 8.2.1M
 
Posts: 117 | Location: US | Registered: February 09, 2004Report This Post
<Kathryn Henning>
posted
Hi David,

A Graph expert has reviewed this topic.

quote:
When I run the graph in dev studio


Where in Developer Studio are you running this from? HTML Composer? InfoAssist? By right clicking on the procedure from the tree?

The sample code is in HTML5, not in APDF. Where do you change the format to be APDF?

Thanks and regards,

Kathryn
 
Report 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] APDF with a PIE chart

Copyright © 1996-2020 Information Builders