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.
This is a great community BTW, you folks are so helpful... thank you!
I would like to create a pie within a pie, or at least that's what I call it. I'd like to create something like this. As you can see, each pie segement is further broken down by an outter ring (which represents the gender).
I think this should be easy to do. All that needs to be done is show two pies of varying sizes, but they need to be drawn on top of each other. Is there a way to specify where the pies are placed on an HTML page? I have to think this is possible.
EDIT: If I take this approach I will have to sort the pies according to another field. I have to think that I can sort the pies by a hidden (NOPRINT) field, but I am getting errors when I try. I've included the SUM and BY clauses below. If I uncomment that commented field I get a NaN error.
SUM COMPUTE NOP/I7 = CNT.DST.COL1; AS 'Number of People' -*BY COL2 BY HIGHEST NOP NOPRINT BY COL3This message has been edited. Last edited by: FP Mod Chuck,
Thanks for the reply Chuck. I love D3 charts. I haven't had a chance to use them yet. I'll do a little homework before asking anymore follow up questions.
If you have the D3 extensions configured here's an example of what you're looking for:
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET HTMLENCODE=OFF
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 ibisamp/car
-* Created by Info Assist for Graph
SUM CAR.BODY.DEALER_COST
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
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);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, ORIENTATION=LANDSCAPE, $
TYPE=DATA, COLUMN=N1, BUCKET= >levels, $
TYPE=DATA, COLUMN=N2, BUCKET= >levels, $
TYPE=DATA, COLUMN=N3, BUCKET= >value, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "0%"
},
"chartType": "com.ibi.sunburst",
"agnosticSettings": {
"chartTypeFullName": "com.ibi.sunburst"
}
*END
ENDSTYLE
END
-RUN
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
So I'm trying to customize some of the settings and I'm not too successful. I'm trying to use a colour scheme that I like. I've modified the properties.json file as is described here. I tried to refresh the cache via the Administration console. I also tried to restart AppStudio. But looks like I'm still getting the default colours.
Turns out it was using a cached copy of the properties.json file. Flushing the cache (and I tried doing this several ways) didn't seem to do it. I had to go to my C:\Users\\AppData\Local\Microsoft\Temporary Internet Files folder and delete the file there. I'm using IE 11 btw.