Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] HTML and blank graph
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] HTML and blank graph
 Login/Join
 
Platinum Member
posted
A colleague of mine has a problem, he's trying to display a report and a graph in a single page but only the report is shown.
For the graph the only thing that is shown is the number of selected rows.
Another colleague same fex but than only the graph is shown. I see both of them.
I have no idea where to look for this problem.

We use IE 8 and WebFocus 7701.

This message has been edited. Last edited by: Kerry,
 
Posts: 103 | Registered: March 18, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Please post your code. Make sure you put in the code tags in red which can be found on the bar above the message line when posting.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Ditto with Prarie.

You must understand we need more information or we will only be giving you guesses on what to do.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Th e code is :

 

-* File tworpt.fex
TABLE FILE CAR
PRINT 
     'CAR.BODY.DEALER_COST'
     'CAR.BODY.RETAIL_COST'
BY 'CAR.ORIGIN.COUNTRY'
BY 'CAR.COMP.CAR'
BY 'CAR.CARREC.MODEL'
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
ENDSTYLE
END
GRAPH FILE CAR
SUM CNT.CAR.COMP.CAR 
ACROSS CAR.ORIGIN.COUNTRY 
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
$
ENDSTYLE
END


 
 
Posts: 103 | Registered: March 18, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
It seems to me that if you want to display a report and a graph, you should use the COMPOUND option.

Save the report .fex in one file (e.g. MrM1), the graph .fex in another (e.g. MrM2), then create your main .fex using COMPOUND and reference the two fexes.

  
-* File MrM.fex
-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter,  $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.556 0.556), DIMENSION=(* *), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.361in; HEIGHT: 3.125in; OVERFLOW: auto; TOP: 0.556in; LEFT: 0.556in', $
COMPONENT='graph1', TEXT='graph1', TOC-LEVEL=2, POSITION=(0.556 4.028), DIMENSION=(7.431 3.266), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.431in; HEIGHT: 3.266in; TOP: 4.028in; LEFT: 0.556in', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE MrM1.fex
SET COMPONENT='graph1'
-*component_type graph
-INCLUDE MrM2
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
ON TABLE SET PAGE-NUM NOLEAD
IF READLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
type=HEADING, IMAGE=MRMG.SVG, position=(0 0), $
TYPE=REPORT,PAGE-LOCATION=OFF,$
END
COMPOUND END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1936 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Daniel thanks for your command but as i said earlier it works fine on mine pc in html.
 
Posts: 103 | Registered: March 18, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] HTML and blank graph

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.