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     [SOLVED] Graph Issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Graph Issue
 Login/Join
 
Platinum Member
posted
Is there a way to combine these two?. Need the BY and ACROSS exactly as in the example.
  
GRAPH FILE CAR
SUM
SALES
BY CAR
ACROSS SEATS
ON GRAPH SET GRMERGE ON
ON GRAPH SET LOOKGRAPH VBRSTK1
END

GRAPH FILE CAR
SUM
COMPUTE AMT/D30 = RETAIL_COST*2;
ACROSS SEATS
ON GRAPH SET GRMERGE ON
ON GRAPH SET LOOKGRAPH LINE
END

This message has been edited. Last edited by: FP Mod Chuck,


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Virtuoso
posted Hide Post
getit

These are two distinct charts. You can have a document that displays both of them side by side but if you need the BY and ACROSS to be as coded then they can not be combined.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
If I understand your requirement correctly, you need a visualization showing both a line and stacked bars.

Yes you can do this with HTML5 graphs. (The type of graph you might want to look at is 'combination charts'.)

For example:

GRAPH FILE GGSALES
SUM 
COMPUTE 
    AMOUNT/D12.2 = BUDDOLLARS * 1.2; AS 'Estimated Sales' 
    BUDDOLLARS  AS 'Budget Sales'
    DOLLARS     AS 'Actual Sales'
BY CATEGORY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
INCLUDE = warm, $
*GRAPH_JS
title: {visible: true, text: 'Gotham Grinds (GG) Sales',font: '14pt Sans-Serif',
        color: 'black'},
blaProperties: {lineConnection:'curved',
                 comboCharts: {barSeriesLayout: 'stacked',
                               lineSeriesLayout: 'absolute'}
                },
series: 
 [
  {series: 0, riserShape: 'line', border: {width: 2},
   marker: {shape: 'square', size: 14, visible: true}},
  {series: 1, riserShape: 'bar'},
  {series: 2, riserShape: 'bar'}
]
*END
ENDSTYLE
END  

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 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     [SOLVED] Graph Issue

Copyright © 1996-2020 Information Builders