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.
The 'Show Stacked Total' doesn't display in the same format as that of the 'Series'.
Is this an issue within IA? I'm sure there's a work-around, that someone may provide, but, shouldn't that carry thru to the stacked total?
Now in 8204
Here's the code:
-* File: IBFS:/Dev/WFC/Repository/KGPCo_IT/Doug/Total_Label_Format_Issue.fex Created by WebFOCUS AppStudio
SET PAGE-NUM=NOLEAD
-*IA_GRAPH_BEGIN
-*Do not delete or modify the comments below
-* deleted
-*Do not delete or modify the comments above
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE
SET ARGRAPHENGINE=JSCHART
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT
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.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.COMP.CAR
HEADING
"Total_Label_Format_Issue.fex"
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
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 BAR
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=x-axis, $
TYPE=DATA, COLUMN=N2, BUCKET=y-axis, $
TYPE=DATA, COLUMN=N3, BUCKET=y-axis, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getDataText(),true);
setDisplay(getDataTextStackedTotalOnTop(),true);
setZeroValueDataTextStackedTotalOnTopDisplay(true);
setDataTextDisplay(true);
setTextFormatPreset(getDataText(),8);
setDisplay(getLegendArea(),false);
setDisplay(getO1Title(),false);
setTransparentBorderColor(getSeries(*), true);
*GRAPH_JS_FINAL
"xaxis": {
"title": {
"visible": false
}
},
"pieProperties": {
"holeSize": "0%"
},
"introAnimation": {
"duration": 750.0,
"enabled": true
},
"blaProperties": {
"seriesLayout": "stacked"
},
"riserBevel": "bevel",
"agnosticSettings": {
"chartTypeFullName": "Bar_Stacked"
}
*END
ENDSTYLE
END
-RUN
-*IA_GRAPH_FINISH
Thanks, DougThis message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I've been using I've been using the developer's tools since... forever, at least since they came out. Now, I'm mentoring others on 'doing everything they need" in IA - Converting Excel spreadsheets to 'BI" / WebFOCUS Portals. I know Pareto Principle applies heavily to IA and, imho, IA is doing a fantastic job with that regard.
Unfortunately, the addition of code to 'BlaProperties' broke other functions which produced a blank screen, ended with the good old "NUMBER OF RECORDS IN GRAPH= 20551 PLOT POINTS= 13" message instead of the chart. AKA: That didn't work for me in this chart.
So, I did a bit of snooping thru the code and found that I can add setTextFormatPreset(getDataTextStackedTotalOnTop(),10);, a derivative of setTextFormatPreset(getDataText(),10);, which formats the series, to make it work.
So, all is good on the home front. Thanks for your input as it put me on the right track to the solution.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005