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.
DEFINE FILE GGSALES
N_DATE/A8DMYY = DATECVT(DATE, 'I8YYMD', 'A8DMYY');
END
GRAPH FILE GGSALES
HEADING " "
SUM DOLLARS/D12 AS 'Dollars'
BY REGION AS ''
ACROSS N_DATE AS 'Dates'
WHERE (DATE IN ('19970701' '19970801' '19970901' '19971001' '19971101' '19971201'));
ON GRAPH HOLD AS CHART_THIS FORMAT SVG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ON
ON GRAPH SET VZERO OFF
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 550
ON GRAPH SET VAXIS 350
ON GRAPH SET LOOKGRAPH VWATERFL
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
!IBI.FIL.CHART_THIS;
-HTMLFORM END
However, when I change the format from SVG to JSCHART there is a big difference in the output.
I want to have the chart stacked like the SVG output but using the JSCHART format.
Does anyone know why there is a big difference in the outputs and how I can get the JSCHART version to work the same as the SVG?
I'm having a similar issue when I try creating a histogram chart.
Thanks MarkThis message has been edited. Last edited by: FP Mod Chuck,
Hi Mark, From my experience, WF does not provide stacked waterfall charts. In fact, one does not need to use sorting but just a list of fields. Each riser is a different value. One can then program an end total riser and subtotal risers in between. See: Waterfall WF8 When You use BY and ACROSS the graph will only show the first BY value, meaning Midwest in your example. I'm afraid a NFR is required...
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
I agree with Danny and the only inference I can locate for stacked waterfall charts is via the older PFJ charting engine and not the newer Moonbeam engine.
You can change the line properties using -
setLineWidth(getWaterfallLine(), 1); setFillColor(getWaterfallLine(), new Color(0,0,0));
But that's about all you can do.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
"I've looked into this, and there is a programming ticket to bring stacked waterfall charts to the moonbeam engine. However, currently the only stacked waterfall chart functionality in place is the one created by the PFJ engine for formats such as PDF, PNG, and SVG. Kind Regards,Don Terrell"
I wonder in what release the feature will be available.