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     Graphing Question rel. 5.2.4

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graphing Question rel. 5.2.4
 Login/Join
 
Guru
posted
We're looking for something like this to work in 5.2.4. When we have a missing value it should give a space instead of line as 0 value.

setFillMissingData(0);

We really want the graph to have a broken line when there is no data for that month.

Thanks in advance for any suggestions.

Carol
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Guru
posted Hide Post
Are the values in question actually null?
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Guru
posted Hide Post
I knew I had this info somewhere. Just had to confirm it was for 52


Syntax: How to Display Missing Values in a Graph

GRAPH FILE filename
.
.
.
SET VZERO={ON|OFF}ON
GRAPH SET GRAPHSTYLE *
API call
ENDSTYLE
END

where:

ON Displays missing values as zero. An API call is not necessary
when VZERO is set to ON. Alternatively, you can add
ON GRAPH SET VZERO ON.

OFF Displays missing values as a gap, a dotted line
to zero, or, an interpolated dotted line, depending on the
API call that is added. Alternatively, you can add
ON GRAPH SET VZERO OFF.

API call
Determines how missing values display in the graph when
VZERO is set to OFF. Possible values are:
setFillMissingData(0); displays missing values as a gap.
setFillMissingData(1); displays missing values as a
dotted line to zero.
setFillMissingData(2); displays missing values as an
interpolated dotted line.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Guru
posted Hide Post
Hi Karen,
I was hoping you would read this post! Thanks for your help. We still can't get the line to break for null values, here's the code we're trying. Perhaps you can see something we can't.
We're on release 5.2.4

ON GRAPH SET LOOKGRAPH VLINE
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 GRAPHSTYLE *
setSelectionEnable(5);
setO1LabelDisplay(true);
setO1AxisSide(0);
setFontSizeAbsolute(getO1Title(),true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setFontSizeAbsolute(getO1Title(),true);
setMarkerDisplay(true);
setMarkerShape ( getSeries(0), 5 );
setMarkerSize(getSeries(0),100);
setMarkerShape ( getSeries(1), 6 );
setMarkerSize(getSeries(1),100);
setMarkerShape ( getSeries(2), 7 );
setMarkerSize(getSeries(2),100);
setUseSeriesShapes(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,2);
setAxisAssignment(1,0);
setSeriesType(1,2);
setAxisAssignment(2,0);
setSeriesType(2,2);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MustIncludeZero(true);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieDepth(0);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setLegendDisplay(true);
setTitleString(" ");
setTextJustHoriz(getTitle(),1);
setFontSizeAbsolute(getTitle(),true);
setFillColor(getTitle(),new Color(-15456639));
setLegendTextAutofit(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setO1LabelAutofit(true);
setLineWidth(getSeries(0),1);
setLineWidth(getSeries(1),1);
setLineWidth(getSeries(2),1);
setFillMissingData(0);
ENDSTYLE
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Guru
posted Hide Post
Make sure you use...

ON GRAPH SET VZERO OFF

Yours is set to ON
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Guru
posted Hide Post
kp,
BIG Thanks for all your help!
BTW, I cut/pasted the wrong code in the prior message. We were able to satisfy a customer's needs thanks to you!

Have a great day!
Carol
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report 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     Graphing Question rel. 5.2.4

Copyright © 1996-2020 Information Builders