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] 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