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     [CASE-OPENED] Graph HOLD and PCHOLD output is different

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Graph HOLD and PCHOLD output is different
 Login/Join
 
Expert
posted
Has anyone found this issue ?

If I HOLD the output, I get an APPLET in the HTML
If I PCHOLD the output, I get an embedded image and no APPLET in the HTML

The PCHOLD output is what we are after, but it will be combined with other things, so I can't use PCHOLD.

-SET &ECHO=ALL;

GRAPH FILE CAR
SUM DEALER_COST
BY MODEL
-*ON GRAPH HOLD AS TEST FORMAT HTML
ON GRAPH PCHOLD AS TEST FORMAT HTML
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET 3D OFF
ON GRAPH SET BARNUMB OFF
ON GRAPH SET GRID ON
ON GRAPH SET VZERO ON
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET GRAPHSTYLE *
setToolTipDisplay(true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=DEALER_COST, FOCEXEC=TEST, $
ENDSTYLE
END
-RUN

! ls -al
! cat test.htm
-*! dir
-*! type test.htm

This message has been edited. Last edited by: <Kathryn Henning>,


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
Member
posted Hide Post
Hi Waz,
Why not use something like this :
 
GRAPH FILE CAR 
SUM RETAIL
BY DEALER
ON GRAPH HOLD AS TT FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<html>
<body>
!IBI.FIL.TT;
</body>
</html>
-HTMLFORM END
 


Damien
WF 8202
DB : NETEZZA, MSSQL, DB2, ORACLE
Output : ALL
 
Posts: 11 | Location: Belgium- Luxembourg | Registered: May 08, 2006Report This Post
Expert
posted Hide Post
Hi Damien,

Tried HTMTABLE and the APPLET was produced.

I think this is a V8 issue


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
FYI, Case has been created with techsupport as well.


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
Member
posted Hide Post
Thx
Good to know, as we planned to migrate to V8 beginning of next year. Think I'll have a lot of "good" surprise with this migration.


Damien
WF 8202
DB : NETEZZA, MSSQL, DB2, ORACLE
Output : ALL
 
Posts: 11 | Location: Belgium- Luxembourg | Registered: May 08, 2006Report This Post
Master
posted Hide Post
Whether you get a Applet ( flashplayer ) or image or HTML5 graph depends on the capabilities of the browser.

WF can decide that for you when using PCHOLD.
...but what about HOLD? It doesn't know what you're up to with the graph.


I use this:
GRAPH
...
ON GRAPH HOLD AS GRA FORMAT JSCHART
END

 
-HTMLFORM BEGIN
<HTML>
<BODY>
<DIV>!IBI.FIL.GRA;</DIV>
</BODY>
</HTML>
-HTMLFORM END


AND !!!!
Add this to the very top of the fex
-HTMLFORM BEGIN
< !DOCTYPE html>
-HTMLFORM END

Otherwise it still we fallback to compatibility mode ( thinking HTML5 isn't supported )


Try some.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Expert
posted Hide Post
We are trying to avoid JSCHART for iPads as we think the js is causing safari to crash.

We have several page with many charts and have used this technique for normal browsers and it works like a treat, but not for iPads.


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
Master
posted Hide Post
quote:
Originally posted by Damien:
Thx
Good to know, as we planned to migrate to V8 beginning of next year. Think I'll have a lot of "good" surprise with this migration.


And maybe some "not so good" surprises. We opened over 30 case during our migration a good number around the new security model. Most were resolved or a work-around was found, but some are still in programming.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
We have/are doing similar, but a fair few are portal related.


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     [CASE-OPENED] Graph HOLD and PCHOLD output is different

Copyright © 1996-2020 Information Builders