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]Multiple Series Graph - Area/Line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Multiple Series Graph - Area/Line
 Login/Join
 
Master
posted
Hello

I have a 7 series graph and type is VLINE2.
All series type is line except 4 and 6 which are area. But one series is covering the series area which is below it and that is being invisible.
How do I stop this and show both areas in a stacked manner? First series area should start going down and when 2nd series area starts, 1st one stops and 2nd series goes all the way down till X-axis.

setSeriesType(getSeries(6),3);
setSeriesType(getSeries(4),3);
setForceSeriesAbsolute(getSeries(4),true);
setForceSeriesAbsolute(getSeries(6),true); 


And on the X-axis where there is year, label repeats like this... 1990 1990 1991 1991 1992 1992...
How to stop this and just show the label just once?
Thanks

This message has been edited. Last edited by: Enigma006,


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
Do you mean something like this?

If so then I think you need to manipulate the data to allow SET VZERO to work its "magic"

Consider the following code, which I am using to build a temporary dataset to demonstrate my point. You will notice that I am setting what will be the 4th and 6th series to "null" when I do not want it to show.
EX -LINES * EDAPUT MASTER,enigma,CV,mem
FILE=enigma,SUFFIX=FOC
SEGNAME=SEG1
FIELD=YEAR,      ,YY   ,A4   , $
FIELD=MEASURE1,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE2,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE3,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE4,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE5,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE6,  ,I9   ,I9   , MISSING=ON, $
FIELD=MEASURE7,  ,I9   ,I9   , MISSING=ON, $
EDAPUT*
-RUN

CREATE FILE enigma
MODIFY FILE enigma
FREEFORM YEAR MEASURE1 MEASURE2 MEASURE3 MEASURE5 MEASURE7
DATA
1990,110,190,120,160,170,$
1991,115,190,125,160,170,$
1992,120,190,120,160,170,$
1993,130,190,125,160,170,$
1994,140,190,120,160,170,$
1995,150,190,125,160,170,$
1996,160,190,120,160,170,$
END
MODIFY FILE enigma
FREEFORM YEAR MEASURE4
MATCH YEAR
  ON MATCH UPDATE MEASURE4
  ON NOMATCH INCLUDE
DATA
1990,150,$
1991,120,$
1992,90,$
1993,60,$
END
MODIFY FILE enigma
FREEFORM YEAR MEASURE6
MATCH YEAR
  ON MATCH UPDATE MEASURE6
  ON NOMATCH INCLUDE
DATA
1993,60,$
1994,40,$
1995,20,$
1996,0,$
END
-RUN

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='150.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE enigma
SUM ENIGMA.SEG1.MEASURE1
ENIGMA.SEG1.MEASURE2
ENIGMA.SEG1.MEASURE3
ENIGMA.SEG1.MEASURE4
ENIGMA.SEG1.MEASURE5
ENIGMA.SEG1.MEASURE6
ENIGMA.SEG1.MEASURE7
BY ENIGMA.SEG1.YEAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE2
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setPlace(true);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setSeriesType(3,3);
setSeriesType(5,3);
*END
ENDSTYLE
END
-RUN


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
Tony

I am not able to show the screenshot somehow. When all series are lines, graph is good. But when 2 series are changed to area, top area spreads all the way down covering the down area. Basically down area is not visible on the graph. But the lines which are below the top area are still visible though. I just want top area to stop when the lower area starts but it's going all the way down covering up the lower area.


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Platinum Member
posted Hide Post
Hello Enigma006 -

Easiest way to show a screen capture on the forum is to save your screen capture as an image and upload to a web image hosting platform such as tinypic.com. Then you'll be provided with URL to the image in which you can then attach to the post using the add image button.


JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
 
Posts: 146 | Registered: November 09, 2015Report 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]Multiple Series Graph - Area/Line

Copyright © 1996-2020 Information Builders