Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]How to change graph size

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]How to change graph size
 Login/Join
 
Gold member
posted
Hi,

I am unable to change the graph size. Somehow it is covering the complete page which we do not want. Not sure what is causing this issue. Please help!

-INCLUDE IBFS:/WFC/Repository/VRMIS/Framework/variableInclude.fex

-*SET TO TITLE WANTED ON EXPORT OF CHART
-DEFAULTH &TITLE = 'Call Summary'

-SET ASNAMES = ON
SET DROPBLNKLINE=HEADING


SET LOOKGRAPH = LINE

**************************************Graph Code**********************************************
GRAPH FILE VRMIS_IDVERIFICATION_SUMMARY_DAILY
SUM
COMPUTE ACCOUNT_CAPTURED/D10.2% = (ACCOUNT_CAPTURED/ INCOMING_CALLS) * 100 ; AS 'VR Validated Accounts'
COMPUTE ANI_CAPTURED/D10.2% = (ANI_CAPTURED/ INCOMING_CALLS) *100; AS 'ANI Match'
COMPUTE AUTHENTICATED/D10.2% = (AUTHENTICATED/ INCOMING_CALLS) * 100; AS 'Authenticated'
COMPUTE COMPLETED/D10.2% = (COMPLETED/ INCOMING_CALLS) * 100; AS 'Completed'
COMPUTE DISCONNECT/D10.2% = (DISCONNECT/ INCOMING_CALLS) * 100; AS 'Disconnects'
COMPUTE TRANSFER/D10.2% = (TRANSFER/ INCOMING_CALLS) * 100; AS 'Transfers'
ACROSS LOCAL_GMT_DATE_TIME AS 'INTERVAL'
WHERE CALLINTERVAL GE '&STARTDATE';
WHERE CALLINTERVAL LE '&ENDDATE';
WHERE COUNTRY_ID EQ '&MARKET';
WHERE BUSINESS_UNIT EQ '&BUSINESSUNIT';
WHERE TFN EQ '&TFN';
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 800
ON GRAPH SET VAXIS 600
ON GRAPH SET 3D OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setTitleString("Call Summary Trending");
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getY1MajorGrid(),false);
setDisplay(getO1MajorGrid(),false);
setFillColor(getFrame(),new Color(255,255,255));
setTextFormatPreset(getY1Label(),28);
setTextString(getY1Title(),"CALLS");
setDisplay(getY1Title(),true);
setFillColor(getLegendText(),new Color(25,25,112));
setFontSizeAbsolute(getLegendText(),true);
setPlaceResize(getLegendText(),0);
setTextRotation(getLegendText(),0);
setPlaceRotate(getLegendText(),0);
setTextJustHoriz(getLegendText(),1);
setPlaceAlign(getLegendText(),0);
setTextWrap(getLegendText(),true);
setPlaceWordWrap(getLegendText(),0);
setFillColor(getSeries(1),new Color(0, 0 ,255));
setFillColor(getSeries(0),new Color(178 ,34 ,34));
*GRAPH_JS
"introAnimation": {
"enabled": false,
"duration": 1400
},
*END
ENDSTYLE
END
-RUN

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8010,8204
Windows
 
Posts: 59 | Registered: June 26, 2015Report This Post
Virtuoso
posted Hide Post
Look at the values from those lines:
ON GRAPH SET HAXIS 800
ON GRAPH SET VAXIS 600
...
ON GRAPH SET AUTOFIT ON


Difficult to say what is exactly, we cannot run your code with your data.


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, 2013Report This Post
Gold member
posted Hide Post
Hi Martin,

Tried various combinations in that but it's not changing anything.

Thanks


WebFOCUS 8010,8204
Windows
 
Posts: 59 | Registered: June 26, 2015Report This Post
Gold member
posted Hide Post
Commenting ON GRAPH SET AUTOFIT ON
did the trick.


WebFOCUS 8010,8204
Windows
 
Posts: 59 | Registered: June 26, 2015Report This Post
Platinum Member
posted Hide Post
Use AUTOFIT OFF in your report.
ON GRAPH SET AUTOFIT OFF

-----------------------------------
May be this will slove your issue.


Thanks!
@vi

WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
 
Posts: 103 | Registered: July 08, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]How to change graph size

Copyright © 1996-2020 Information Builders