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.
Hello guys, I'm finally using the HTML5 extension to show the grid (datatable) extension but I see some challenge formatting a field and drilldowns on a field.
I tried to make the field Alpha using FTOA, FPRINT, EDIT etc., but nothing helped. ANyone else tried this yet? I'm using 8202M AppStudio Please let me know your thoughts.This message has been edited. Last edited by: vaayu,
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
Here's some sample code, Trying to format the number, I tried FTOA, FPRINT etc., also hoping to be able to use drilldown but not having any luck so far. Please let me know of any thoughts.
-* File: IBFS:/Attenti/WFC/Repository/Test/Chart1.fex Created by WebFOCUS AppStudio
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
DEFINE FILE CAR
SALES_ALPHA/A4 = EDIT(SALES,'9999');
END
GRAPH FILE car
-* Created by Info Assist for Graph
SUM CAR.BODY.SEATS
COMPUTE SALESA/A4 = EDIT(CAR.BODY.SALES,'9999');
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO 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 LOOKGRAPH EXTENSION
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET= >row,
FOCEXEC=IBFS:/WFC/Repository/Test/Car_DataTable.fex(PARM1=CAR.BODY.SALES), $
$
TYPE=DATA, COLUMN=N2, BUCKET= >row, $
TYPE=DATA, COLUMN=N3, BUCKET= >measure, $
TYPE=DATA, COLUMN=N4, BUCKET= >measure, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "0%"
},
"chartType": "com.ibi.datatables",
"agnosticSettings": {
"chartTypeFullName": "com.ibi.datatables"
}
*END
ENDSTYLE
END
-RUN
-*IA_GRAPH_FINISH
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
COMPUTE SALESA/A15 = EDIT2(CAR.BODY.SALES,'I6');
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO 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 LOOKGRAPH EXTENSION
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET= >row,
FOCEXEC=IBFS:/WFC/Repository/Test/Car_DataTable.fex(PARM1=CAR.BODY.SALES), $
$
TYPE=DATA, COLUMN=N2, BUCKET= >row, $
TYPE=DATA, COLUMN=N3, BUCKET= >measure, $
TYPE=DATA, COLUMN=N4, BUCKET= >measure, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "0%"
},
"chartType": "com.ibi.datatables",
"agnosticSettings": {
"chartTypeFullName": "com.ibi.datatables"
}
*END
ENDSTYLE
END
-RUN
-*IA_GRAPH_FINISH
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
I have 8202m with gen 14. Let me try it on another release and see if thats an issue. The output is same for SALES and SALESA fields for me and no drillable link (on chrome browser)
So I have tried on 8202 Gen 88, same effect no luck. Can't get rid of the decimals and no drilldowns. I'm also using the latest d3 zip file from github.
Any thoughts?
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
I didn't notice the Integer field IS showing decimals till you pointed it out. So, my example isn't working as I thought. It seems like this chart extension forces a decimal no matter what you do.
However, the drill down is working for me.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
BabakNYC, Did you have any custom library thats making the drilldown to work? ALso please share a screenshot, curious to see if you have the hyperlinks like we'd see in a report. I also tried on another WF instance 8201 Gen 9 but no luck yet. It seems really odd for drilldown to not work. I'll have to pursue it with cust support.
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
The drill down has to be on a number. When it's in a chart, you don't get the usual blue link. The drill down presents when you hover over the number with the drill down and the pointer changes to a hand indicating the value is a drillable one. I'm using the D3 charts available on github for IBI.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015