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     [CLOSED] Line Graph with no line for zero values?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Line Graph with no line for zero values?
 Login/Join
 
Master
posted
Say I have data with points for Month to Date sales and total monthly sales last month....all by day.

I want a line graph of this that doesn't show a line at zero for days in the future for this month.

I'm going into such detail because just saying "where sales > 0" eliminates all the rows for the future, I want to show all of last years data.

Thanks!

This message has been edited. Last edited by: <Kathryn Henning>,


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
I'm not a major user of graphs, but could you not do some fancy where total type processing by computing a value. That if it was in the past you wanted it, but if in the future no. Then do a where total test on the computed value.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Master
posted Hide Post
I know the total... it's zero, that's the problem.

I can't exclude all the records that have a zero value, I just want keep them from drawing a zero line on my line graph.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
I think I confused the issue, the where total would be on some value based on the dates you are using. Not on where total of a summed field is zero.

Does this run daily? Could you screen out on the date?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
I think this might do it...but can't guarentee
setScaleFromZero(false);


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
quote:
setScaleFromZero(false);

unfortunately, it doesn't.

is there a something like a GraphZeroes(False)?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Jason

did you download the manual for graphs?

it gives you examples of all kind of settings.
look at the ibi website.

quote:
How Missing Data Is Handled
By default, the following rules govern how missing data points are handled:
1. When a data point is part of a cumulative total (stacked or percent bar, line, area, pie
slice), it is interpreted as 0.0.
2. When a data point is used with neighboring points to define a line segment or surface
(3D connected, 3D surface, 2D line, 2D area), it is interpreted as 0.0.
3. Otherwise (2D side-by-side bar, 3D riser, 3D floating, 2D and 3D scatter, stock graphs,
spectral map, histogram), the (missing) point will not be plotted.
The FillMissingData and NumMissingDataSegments properties can be used to override
these rules and define how missing data points are handled.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
ok one last suggestion'

setZeroValueDataTextDisplay(false);


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
thanks again prarie, but didn't work either.

These ARE zero values, not nulls...that's why I've got the problem. A null is a missing value, a zero is not missing, it's zero.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
How can the value for days in the future be 0, it should be missing data....
I wonder if you can change that in the master, or in else in the define (MISSING=ON)




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Is this what you are looking for:

http://techsupport.informationbuilders.com/sps/20232086.html


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Gold member
posted Hide Post
When data points are missing from a data set, the "FillMissingData" property defines how the missing data is handled.
If doing manually the Syntax is:
setFillMissingData(value);
value = getFillMissingData();
where:
value
Can be one of the following:
0 skips missing data. 0 is the default value.
1 sets missing data to zero.
2 interpolates.

If you're doing this in Dev Studio go to the Line Graph Properties tab --> Missing Values Display --> drop down list, to select the appropriate choice.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Expert
posted Hide Post
Jason,

Also checkout the VZERO setting within Graphstyle.

There have been releases where the VZERO didn't work correctly (at all!!) so be aware of that. I seem to remember 5.2.3 was one of the ones where it didn't funtion.

The other thing to be aware of is that you might need to combine it with the item that Alex has mentioned above.

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
Expert
posted Hide Post
Smiler Thanks again Tony. I was looking for the VZERO / missing data.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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     [CLOSED] Line Graph with no line for zero values?

Copyright © 1996-2020 Information Builders