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.
Using !IBI.FIL. I am able to populate a chart into the HTML page created in the FEX. Below is a working version of the code. Also, found several in this forum.
I am trying to generate a AHTML chart on populate it using the !IBI.FIL. but it doesn't work. When searched in this forum and in the documentation I found that for AHTML TABULAR report we have to use '!IBI.OBJ.ACTIVEREPORTJS;' along with the !IBI.FIL. I tried by adding that as well but didn't work.
If anyone has a solution greatly appreciate your help.
GRAPH FILE car SUM CAR.BODY.SALES BY CAR.COMP.CAR ON GRAPH HOLD AS TSTGRP FORMAT JSCHART ON GRAPH SET VZERO OFF ON GRAPH SET LOOKGRAPH PIE ON GRAPH SET AUTOFIT ON ON GRAPH SET STYLE * *GRAPH_SCRIPT setPieDepth(0); setPieTilt(0); setDepthRadius(0); setCurveFitEquationDisplay(false); setPlace(true); setPieFeelerTextDisplay(1); *END INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$ TYPE=REPORT, TITLETEXT='chart', ARGRAPHENGINE=JSCHART, $ TYPE=DATA, COLUMN=N1, BUCKET=color, $ TYPE=DATA, COLUMN=N2, BUCKET=measure, $ *GRAPH_SCRIPT setReportParsingErrors(false); setSelectionEnableMove(false); *GRAPH_JS_FINAL "pieProperties": { "holeSize": "0%" }, "agnosticSettings": { "chartTypeFullName": "Pie" } *END ENDSTYLE END -RUN
-HTMLFORM BEGIN
<html>
<body>
<div>!IBI.FIL.TSTGRP;</div>
</body>
</html>
-HTMLFORM END
This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS - ver8201 [ReportingServers: Windows 64bit; Client: tomcat and IIS on windows 2012 AppStudio
Posts: 104 | Location: Indianapolis | Registered: November 08, 2007
Please change hold format JSCHART to AHTML . It works.
GRAPH FILE CAR
SUM CAR.BODY.SALES
BY CAR.COMP.CAR
ON GRAPH HOLD AS TSTGRP FORMAT AHTML
-*ON GRAPH HOLD AS TSTGRP FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENWarm.sty,$
TYPE=REPORT, TITLETEXT='chart', ARGRAPHENGINE=JSCHART, $
TYPE=DATA, COLUMN=N1, BUCKET=color, $
TYPE=DATA, COLUMN=N2, BUCKET=measure, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "0%"
},
"agnosticSettings": {
"chartTypeFullName": "Pie"
}
*END
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<html>
<body>
<div>!IBI.FIL.TSTGRP;</div>
</body>
</html>
-HTMLFORM END