Focal Point
[CLOSED] Using htmtable in app studio

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7067001376

October 15, 2014, 01:30 PM
J.L. Hinds
[CLOSED] Using htmtable in app studio
The code at the bottom runs perfectly when I run the fex.
I need to use similar code in a dashboard. When I add them in app studio I can't get them to autosize correctly.
Any thoughts?

GRAPH FILE CAR
SUM SEATS
BY COUNTRY
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, HFREEZE=ON,$
END
-RUN
GRAPH FILE CAR
SUM RETAIL
BY CAR
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, HFREEZE=ON,$
END
-RUN

-HTMLFORM BEGIN
<html>
<head>
</head>
<body>
<table border="5" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
  <tr>
   <td><span style="float:left;">!IBI.FIL.GRAPH1;</span>
       <span style="float:right;"> !IBI.FIL.GRAPH2;</span></td>
  </tr>
</table>
</body>
</html>
-HTMLFORM END

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


WebFOCUS 7.6
Windows, All Outputs
October 15, 2014, 01:37 PM
Tom Flynn
Try this:
  
-HTMLFORM BEGIN
<html>
<head>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
  <tr>
    <td width="50%">!IBI.FIL.GRAPH1;</td>
    <td width="50%">!IBI.FIL.GRAPH2;</td>
  </tr>
</table>
</body>
</html>
-HTMLFORM END



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
October 16, 2014, 09:42 AM
J.L. Hinds
Tom, that was the direction I was headed. Open a new HTML page and try to size it. No matter what I do it overrides the settings when I run it. I need to get 3 different frames loaded onto one screen. For the life of me I can't get them to size properly. Changing the HTML statement in the fex file doesn't seem to have any effect at all. One version I'm testing actually opens two different versions when I run it. My ultimate goal is to have a pie chart on the left showing share by category with a horizontal bar chart on the right showing delta frrom YAGO. This code runs and drills perfectly when running the fex file.


WebFOCUS 7.6
Windows, All Outputs
October 16, 2014, 09:57 AM
Tom Flynn
Hi J.L.,
Well, can't assist with App Studio.
Been reading Mr. Mariani's threads regarding App Studio, and, am scared to death to even download it much less start using it with all the bugs and limitations he relates...
Maybe someone else can assist...
Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
October 16, 2014, 10:34 AM
Francis Mariani
J.L.,

How does App Studio figure in what you're attempting to do? It appears you're using WF and HTML code, so you must be using the text editor.

Meanwhile, perhaps the BIP panel you're putting this into needs to be set to auto-size (I'm new in the WF8 game, so I don't know if that is possible or how to do it yet).


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
October 16, 2014, 10:35 AM
Francis Mariani
BTW, please edit your first post and add code tags around your code.
[code]

your code here

[/code]



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
October 16, 2014, 11:30 AM
J.L. Hinds
Francis, I was doing exactly what Tom put in his but thanks for the code tags advice. My HTML skills are limited.


WebFOCUS 7.6
Windows, All Outputs