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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Blank Graph
 Login/Join
 
Gold member
posted
Hi,

Below is the code for a graph I have developed and its always blank even it has values to show up. Let me know where Am I going wrong.

This is my o/p
0 NUMBER OF RECORDS IN GRAPH= 75 PLOT POINTS= 13

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CMTAPT_FINAL_GRP

COMPUTE CMMT_T/D12.2= CMTAPT_FINAL_GRP.SEG01.CMMT_TOT; AS 'Commitment Missed'
COMPUTE APPT_T/D12.2= CMTAPT_FINAL_GRP.SEG01.APPT_TOT; AS 'Appointment Missed'
COMPUTE PERC_CMMT/D12.2=CMTAPT_FINAL_GRP.SEG01.CMMT_TOT/CMTAPT_FINAL_GRP.SEG01.CMT_APT_TOT * 100; AS '%Commitment Missed'
COMPUTE PERC_APPT/D12.2=CMTAPT_FINAL_GRP.SEG01.APPT_TOT/CMTAPT_FINAL_GRP.SEG01.CMT_APT_TOT * 100; AS '%Appoinment Missed'
BY CMTAPT_FINAL_GRP.SEG01.RGN_AREA
BY CMTAPT_FINAL_GRP.SEG01.PRODUCT_OF_CONCERN
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 20.90208
ON GRAPH SET VAXIS 9.101665
ON GRAPH SET UNITS INCHES
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET LOOKGRAPH VBAR2AX
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setSeriesType(2,2);
setSeriesType(3,2);
setScaleMinAuto(getY2Axis(),false);
setScaleMin(getY2Axis(),0.0);
setGridStepAuto(getY2MajorGrid(),false);
setGridStep(getY2MajorGrid(),2.0);
setTextRotation(getO1Label(),3);
setTextString(getO1Title(),"");
setAxisAssignment( $0, 0);
setAxisAssignment( $1, 0);
setAxisAssignment( $2, 1);
setAxisAssignment( $3, 1);
setFillColor(getSeries(0),new Color(155,187,89));
setFillColor(getSeries(2),new Color(155,187,89));
setFillColor(getSeries(1),new Color(0,63,128));
setFillColor(getSeries(3),new Color(0,63,128));
setTextString(getY1Title(),"Missed Count");
setDisplay(getY1Title(),true);
setDisplay(getY2Title(),true);
setTextString(getY2Title(),"%Missed ");
*END
ENDSTYLE
END



Thanks,
Ramya
WebFOCUS 8105, Javascript, HTML

This message has been edited. Last edited by: <Emily McAllister>,
 
Posts: 73 | Registered: January 02, 2012Report This Post
Gold member
posted Hide Post
quote:
ode for a graph I have developed and its always blank even it ha

Hi All,

I was able to see the result set when I added SUM before the COMPUTE field which I was missing before.

Thanks,
Ramya
WebFOCUS 8105, Javascript, HTML
 
Posts: 73 | Registered: January 02, 2012Report This Post
Expert
posted Hide Post
Surprised it didn't give a VERB not found error.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
No Waz, it was just a blank page with the message on the bottom of the page.

0 NUMBER OF RECORDS IN GRAPH= 75 PLOT POINTS= 13

Thanks,
Ramya
WebFOCUS 8105, Javascript, HTML
 
Posts: 73 | Registered: January 02, 2012Report This Post
Expert
posted Hide Post
IF its all fixed, please update your first post in this thread, edit the title and add [SOLVED] or [CLOSED] to it.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders