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]Multiple Graphs side by side

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Multiple Graphs side by side
 Login/Join
 
Platinum Member
posted
Hello,
I tried to print two horizontal stack bar graphs side by side but some how extra bar graph is hiding my first stack graph, please let me know if I`m missing something, here is my code

 
GRAPH FILE CAR
PRINT DEALER_COST RETAIL_COST
BY CAR
WHERE CAR EQ 'JENSEN'
HEADING
"Previous Month"
ON GRAPH HOLD AS ONE FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 400.0
ON GRAPH SET VAXIS 150.0
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH HBRSTKPC
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=HEADING, JUSTIFY=CENTER, FONT='Trebuchet MS', SIZE=9, COLOR=RGB(66 70 73), STYLE=BOLD, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(128,128,128));
setFillColor(getSeries(1),new Color(255,0,0));
setFillColor(getSeries(2),new Color(128,128,255));
setDisplay(getDataText(2), false);
setDisplay(getDataText(1), false);
setDisplay(getDataText(0), false);
setTextString(getO1Title(),"");
*END
ENDSTYLE
END
-RUN
GRAPH FILE CAR
PRINT DEALER_COST RETAIL_COST
BY CAR
WHERE CAR EQ 'JENSEN'
HEADING
"Current Month"
ON GRAPH HOLD AS TWO FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 400.0
ON GRAPH SET VAXIS 150.0
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH HBRSTKPC
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=HEADING, JUSTIFY=CENTER, FONT='Trebuchet MS', SIZE=9, COLOR=RGB(66 70 73), STYLE=BOLD, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(128,128,128));
setFillColor(getSeries(1),new Color(255,0,0));
setFillColor(getSeries(2),new Color(128,128,255));
setDisplay(getDataText(2), false);
setDisplay(getDataText(1), false);
setDisplay(getDataText(0), false);
setTextString(getO1Title(),"");
*END
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN

<html>

<head>
</head>

<body>
<table>
    <tr>
        <td>!IBI.FIL.ONE;</td><td>!IBI.FIL.TWO;</td>
    </tr>
</table>
</body>
</html>
-HTMLFORM END
-EXIT
 

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


WebFocus-8/Windows/HTML, PDF, EXCEL
 
Posts: 106 | Registered: September 20, 2010Report This Post
Expert
posted Hide Post
The charts look good side-by-side in WF 8.0.08. IE 11 and Chrome.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Hi Francis,
I`m getting two charts side by side, but my first graph is masked with bar graph (I think default graph), my actual graph is hiding behind the bar graph which I can see the heading of the first graph, when I ran individually, they are good

My Dev studio is 8.0.08 and using IE 11


WebFocus-8/Windows/HTML, PDF, EXCEL
 
Posts: 106 | Registered: September 20, 2010Report This Post
Expert
posted Hide Post
Here's a screenshot:



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
This does not work for me when tested in App Studio. I experience the same problem as Krishna.

When run from the WebFOCUS portal, however, I get the two charts side by side.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Master
posted Hide Post
quote:
but my first graph is masked with bar graph (I think default graph),

Sounds like you are running in IE Compatibility View.

Try turning off IE compatibility view or see the following for a compatibility tag you can try adding:
http://forums.informationbuild...487074386#1487074386
 
Posts: 822 | Registered: April 23, 2003Report This Post
Expert
posted Hide Post


Yes, it appears to be an IE compatibility mode issue.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
quote:
Originally posted by Squatch:
This does not work for me when tested in App Studio. I experience the same problem as Krishna.

When run from the WebFOCUS portal, however, I get the two charts side by side.

Okay, just upgraded from 8.1.05 to 8.1.05M and now I do get two charts side by side in App Studio!

The upgrade is not complete, however, because I have not installed the 8.1.05M version of App Studio. Still using 8.1.05.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 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     [SOLVED]Multiple Graphs side by side

Copyright © 1996-2020 Information Builders