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     remove zero value in graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
remove zero value in graph
 Login/Join
 
Master
posted
SET LOOKGRAPH=VBAR
SET GRAPHEDIT=SERVER
SET GRID=OFF

DEFINE FILE CAR
SALES/D12 MISSING ON=IF SALES NE 0 THEN SALES ELSE MISSING;
END

SET GRAPHEDIT=ON
SET GRMERGE=ON
GRAPH FILE CAR
SUM SALES
BY CAR
ACROSS COUNTRY
ON GRAPH SET VZERO OFF
ON GRAPH SET GRAPHSTYLE *
setDisplay (getDataText(), true);
setFillMissingData(0);
ENDSTYLE
END
-EXIT


when you run this report, you will see 0 values. I dont want those 0's display in report.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Expert
posted Hide Post
Kamesh,

Raise a case with IB. This problem seems to intermittently raise it's head. I reported in 5.2.3 and also 5.3.2 (case 11992004). However it is fixed in 7.1 (allegedly) so all should be fine. Still, it doesn't help you with 5.3.3!!

For info, this is the example code I sent to IB for the case. It shows both a graph and a table depicting where the null data exists -
-* File graphtst.fex
DEFINE FILE GGSALES
  TYEAR/A4  = EDIT(DATE,'9999$');
  TMONTH/A2 = EDIT(DATE,'$$$$99$');
  TYRMNTH/A6 = EDIT(DATE,'999999$');
END
TABLE FILE GGSALES
SUM   DOLLARS AS GROSS_VALUE
      BUDDOLLARS AS NETT_VALUE
BY    TYEAR
BY    TMONTH
WHERE TYRMNTH LE '199708'
ON TABLE HOLD AS MYDATA
ON TABLE SET ASNAMES ON
ON TABLE SET HOLDLIST PRINTONLY
END
GRAPH FILE MYDATA
SUM   GROSS_VALUE
      NETT_VALUE
ACROSS TMONTH
BY TYEAR
ON GRAPH SET GRAPHEDIT OFF
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHSTYLE *
setGraphType(41);
ENDSTYLE
END
TABLE FILE MYDATA
SUM   GROSS_VALUE
      NETT_VALUE
BY TMONTH
ACROSS TYEAR
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END


Regards

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, 2004Report This Post
Master
posted Hide Post
Thanks for your reply Tony. Will open a case with IBI.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report 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     remove zero value in graph

Copyright © 1996-2020 Information Builders