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.
Where's the setting to make the axis consistent in the following simple graphs? I need to use a consistent axis, say 1 in this case, for all individual graphs.
Run the following code and see that it produces graphs with an axis of 0.5, 0.6, and 0.45. I need the axis to be, for example, 1 for all graphs
GRAPH FILE car
SUM
COMPUTE RPCT/D6 = RETAIL_COST / 100000 ;
COMPUTE DPCT/D6 = DEALER_COST / 100000 ;
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON GRAPH HOLD AS GRAPH1 FORMAT JSCHART
END
-RUN
GRAPH FILE car
SUM COMPUTE RPCT/D6 = RETAIL_COST / 100000 ;
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON GRAPH HOLD AS GRAPH2 FORMAT JSCHART
END
-RUN
GRAPH FILE car
SUM COMPUTE DPCT/D6 = DEALER_COST / 100000 ;
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON GRAPH HOLD AS GRAPH3 FORMAT JSCHART
END
-RUN
-HTMLFORM BEGIN
!IBI.FIL.GRAPH1;
!IBI.FIL.GRAPH2;
!IBI.FIL.GRAPH3;
-HTMLFORM END
Yes, I stripped out all the styling for simplicity.
Can this be done in the GUI?
Thanks, in advance, 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
GRAPH FILE car
SUM
COMPUTE RPCT/D6 = RETAIL_COST / 100000 ;
COMPUTE DPCT/D6 = DEALER_COST / 100000 ;
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON GRAPH PCHOLD AS GRAPH1 FORMAT JSCHART
ON GRAPH SET LOOKGRAPH BAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setScaleMaxAuto(getY1Axis(),false);
setScaleMax(getY1Axis(),1.0);
*END
END
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
Hi Doug, Yesterday your sample wasn't the same color when today it is.
It seems that pervious custom data label positioning option available in WF7 is not anymore available in WF8. I've pasted WF7 code into a WF8 graph and the custom position have no effect :-(
And thank you for mentioning my ten years in Focus, which just happened in February. I did not realize myself ..
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013