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.
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, 2016
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, 2015
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, 2016