[CASE-OPENED] Graph HOLD and PCHOLD output is different
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.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 17, 2015, 01:30 AM
Damien
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
September 17, 2015, 01:41 AM
Waz
Hi Damien,
Tried HTMTABLE and the APPLET was produced.
I think this is a V8 issue
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 17, 2015, 01:41 AM
Waz
FYI, Case has been created with techsupport as well.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 17, 2015, 01:49 AM
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.
Damien WF 8202 DB : NETEZZA, MSSQL, DB2, ORACLE Output : ALL
September 17, 2015, 05:00 AM
Dave
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
September 17, 2015, 05:08 AM
Waz
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.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 17, 2015, 09:22 AM
jgelona
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.
September 17, 2015, 05:57 PM
Waz
We have/are doing similar, but a fair few are portal related.