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 JSCHARTS in one HTMLFORM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Multiple JSCHARTS in one HTMLFORM
 Login/Join
 
Silver Member
posted
Since our migration to 8201M from 8104, we have be unable to display multiple JSCHARTS in an HTMLFORM. It seems to be only displaying the last !IBI.FIL.; in the HTMLFORM. Here is my code:

  
GRAPH FILE CAR
SUM SALES
BY COUNTRY
ON TABLE HOLD AS COUNTRY FORMAT JSCHART
ON GRAPH SET HAXIS 200.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET LOOKGRAPH BAR
END
-RUN

GRAPH FILE CAR
SUM SALES
BY CAR
ON TABLE HOLD AS CAR FORMAT JSCHART
ON GRAPH SET HAXIS 200.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET LOOKGRAPH BAR
END
-RUN

-HTMLFORM BEGIN
<table>
	<tr>
		<td width="50%">
			!IBI.FIL.COUNTRY;
		</td>
		<td width="50%">
			!IBI.FIL.CAR;
		</td>
	</tr>
</table>
-HTMLFORM END


The output only shows the !IBI.FIL.CAR bar graph. I've tested in both IE and Chrome.

Any ideas?

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


WebFOCUS 8.201m
Windows, All Outputs
 
Posts: 28 | Location: Indiana | Registered: June 08, 2016Report This Post
Virtuoso
posted Hide Post
I'm getting the same behavior. I found this example in Focal Point:
  
EMBED BEGIN PCHOLD FORMAT HTML
EMBED COMPONENT AS COUNTRY
GRAPH FILE CAR
SUM SALES
BY COUNTRY
ON TABLE HOLD AS COUNTRY FORMAT JSCHART
ON GRAPH SET HAXIS 200.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET LOOKGRAPH BAR
END

EMBED COMPONENT AS CAR

GRAPH FILE CAR
SUM SALES
BY CAR
ON TABLE HOLD AS CAR FORMAT JSCHART
ON GRAPH SET HAXIS 200.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET LOOKGRAPH BAR
END
EMBED MAIN

TABLE FILE CAR
"Two graphs in the heading of a report:"
"COUNTRY<+0>CAR"
BY COUNTRY NOPRINT
IF RECORDLIMIT EQ 1
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE HOLD FORMAT HTML
ON TABLE SET STYLE *
type=heading, headalign=internal, $
type=heading, line=2, item=1, embed=COUNTRY, $
type=heading, line=2, item=2, embed=CAR, $
END

EMBED END


However, if your issue is upward compatibility, you might have to reach out to IB tech support to see why it's stopped working. If you do, could you let us know what they say?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
Thanks BabakNYC,

I was able to get that to work, but I went ahead and started a case with IBI anyways to see if we can get the old (correct) way of doing it to work again. I will update you with information when it comes my way.

Matt


WebFOCUS 8.201m
Windows, All Outputs
 
Posts: 28 | Location: Indiana | Registered: June 08, 2016Report This Post
Expert
posted Hide Post
Did you check developer tools on the browser for issues like js errors, or html layout issues ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Interesting, I tried your code and it worked.

I'm on 8.1.04, perhaps there is a difference in 8.2.01


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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 JSCHARTS in one HTMLFORM

Copyright © 1996-2020 Information Builders