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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] VBRSTK2 Graph issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] VBRSTK2 Graph issue
 Login/Join
 
Gold member
posted
I am having a stacked graph - VBRSTK2. I have 2 bars and 2 lines in the graph. My problem is that I want only the bars to be stacked, but the lines are also getting stacked. Is there a graph type where I can have only the bar stacked and not the line stacked.

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


WF: 7.6.8
OS/Platform: Windows, Unix
 
Posts: 55 | Registered: May 25, 2010Report This Post
Expert
posted Hide Post
Hi Neenz,

The following code may be of help:

Bar and line graphs can be combined from the Graph Wizard. The Field Options tab allows you to select a field and then click a radio button that will indicate Bar, Line or Area for the display type for that particular field.

The code looks like the following:

setSeriesType(0,1);
setAxisAssignment(1,0);
setSeriesType(1,1);
setAxisAssignment(2,0);
setSeriesType(2,2);

setSeriesType(0,1) --- 0 is the first data field and 1 indicates a bar display
setSeriesType(2,2) --- 2 is the third data field and 2 indicates a line display


Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
I've tried this but it will still give you stacked lines. is there a way to have to a stacked chart and a line chart on the same graph?
 
Posts: 5 | Registered: February 26, 2013Report This Post
Platinum Member
posted Hide Post
Did you find the solution for this issue? Please share it with us.


8.2.06
Windows, All Formats
 
Posts: 184 | Registered: December 27, 2013Report This Post
Member
posted Hide Post
Pinging to see if anyone has found a solution. Tried hiding the lower level lines on the stack and just displaying the top one... that doesn't work either as the lower level lines are then excluded from the total.

This is frustrating. Seems like such a simple thing.


WebFOCUS 8.1.05,
Windows 7,
All output types
 
Posts: 13 | Location: Alpharetta, GA | Registered: May 30, 2014Report This Post
Member
posted Hide Post
Well, figured it out right after i posted. set the lower level lines on the stacks transparency to 100%

Now on to figure out how to suppress them in the legend.


WebFOCUS 8.1.05,
Windows 7,
All output types
 
Posts: 13 | Location: Alpharetta, GA | Registered: May 30, 2014Report 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] VBRSTK2 Graph issue

Copyright © 1996-2020 Information Builders