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.
I have seen many other posts on this topic , but could not find a solution. Is there a way to combine these two graphs into one.?
GRAPH FILE CAR SUM SALES BY CAR ACROSS SEATS ON GRAPH SET GRMERGE ON ON GRAPH SET LOOKGRAPH VBRSTK1 END
GRAPH FILE CAR SUM COMPUTE AMT/D30 = RETAIL_COST*2; ACROSS SEATS ON GRAPH SET GRMERGE ON ON GRAPH SET LOOKGRAPH LINE ENDThis message has been edited. Last edited by: getit,
App Studio Version 8202 windows Platform SQL Server 2008/2012
Posts: 183 | Location: TX | Registered: January 22, 2007
Refer to the following manual:
'Perspective for Java Programmers Manual'DN: 2100945.0901
http://techsupport.ibi.com/ibi..._manuals/pfj_man.pdf
Specifically the sections on:
setAxisAssignment() - PDF page 566
setSeriesType() - PDF page 683
Here is an example FEX:
GRAPH FILE CAR
SUM SALES DEALER_COST RETAIL_COST COMPUTE MARGIN/D12.2=(RC-DC)/DC;
BY HIGHEST TOTAL RETAIL_COST
BY CAR
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID OFF
ON GRAPH SET GRAPHSTYLE *
setGraphType(20);
setForceSeriesAbsolute(getSeries(0),false);
setForceSeriesAbsolute(getSeries(1),false);
setForceSeriesAbsolute(getSeries(2),true);
setForceSeriesAbsolute(getSeries(3),true);
setAxisAssignment(0,0);
setSeriesType(0,1);
setAxisAssignment(1,0);
setSeriesType(1,1);
setAxisAssignment(2,1);
setSeriesType(2,2);
setAxisAssignment(3,1);
setSeriesType(3,2);
setY1LabelDisplay(true);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);rue);;);
setY1MajorGridStyle(0);000,;alse);ue);
setY1MinorGridDisplay(false);w Color(255,255,0));
setTextFormatPreset(getY1Label(),-1);;
setTextFormatPattern(getY1Label(),"#.##");
setY2LabelDisplay(true);
setY2AxisSide(1);
setY2MajorGridDisplay(true);
setY2MajorGridStyle(2);
setY2MinorGridDisplay(false);
setTextFormatPreset(getY2Label(),2);
-* Y2 Axis Scale is synchronized with Y1 since the data points are similar
setScaleMaxAuto(getY2Axis(), false);
setScaleMax(getY2Axis(),.3);
setScaleMinAuto(getY2Axis(), false);
setScaleMin(getY2Axis(),.15);
setY2MajorGridStepAuto(false);
setY2MajorGridStep(.01);
setDataTextDisplay(true);
setCustomDataText(getSeries(0), true);
setCustomDataText(getSeries(1), true);
setCustomDataText(getSeries(2), true);
setCustomDataText(getSeries(3), true);
setDisplay(getDataText(0), false);
setDisplay(getDataText(1), false);
setDisplay(getDataText(2), false);
setDisplay(getDataText(3), true);
setTextFormatPreset(getDataText(3),2);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setFillType(getSeries(3),1);
setFillColor(getSeries(3), new Color(255,255,0));
setLegendDisplay(true);
setFillType(getFrame(),2);
setTransparentBorderColor(getFrame(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Yes, this one doesn't have any across, My dilemma is how to hande the across field in first graph which stacks the columns based on the by field ,where as second one just shows a total line.
App Studio Version 8202 windows Platform SQL Server 2008/2012
Posts: 183 | Location: TX | Registered: January 22, 2007