I have created 6 graphics saved in PNG format (HOLD).
I have made the 6 graphics in a PDF COMPOUND.
If I run the FEX COMPOUND everything works. If RUN DEFERRED launch the PDF is blank as it happens if I run report with caster.
I enclose the code used.
FILEDEF FILEAREA DISK &NOMEFILE_AM
-RUN
-*SET HTMLARCHIVE=ON
COMPOUND LAYOUT HOLD AS FILEAREA FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5^4', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=A4, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='AREA MANAGER', text='AREA MANAGER', 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=(3.024 0.312), DIMENSION=(5.838 0.520), METADATA='POSITION: absolute; WIDTH: 5.838in; HEIGHT: 0.52in; TOP: 0.312in; LEFT: 3.024in', $
COMPONENT='graph1', TEXT='graph1', TOC-LEVEL=2, POSITION=(0.021 0.583), DIMENSION=(4.588 3.588), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.588in; HEIGHT: 3.588in; TOP: 0.583in; LEFT: 0.021in', $
COMPONENT='graph2', TEXT='graph2', TOC-LEVEL=2, POSITION=(3.875 0.604), DIMENSION=(4.583 3.583), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.583in; HEIGHT: 3.583in; TOP: 0.604in; LEFT: 3.875in', $
COMPONENT='graph3', TEXT='graph3', TOC-LEVEL=2, POSITION=(7.688 0.604), DIMENSION=(4.583 3.583), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.583in; HEIGHT: 3.583in; TOP: 0.604in; LEFT: 7.688in', $
COMPONENT='graph4', TEXT='graph4', TOC-LEVEL=2, POSITION=(0.021 4.066), DIMENSION=(4.583 3.583), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.583in; HEIGHT: 3.583in; TOP: 4.066in; LEFT: 0.021in', $
COMPONENT='graph5', TEXT='graph5', TOC-LEVEL=2, POSITION=(3.875 4.042), DIMENSION=(4.583 3.583), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.583in; HEIGHT: 3.583in; TOP: 4.042in; LEFT: 3.875in', $
COMPONENT='graph6', TEXT='graph6', TOC-LEVEL=2, POSITION=(7.688 4.052), DIMENSION=(4.583 3.583), COMPONENT-TYPE=GRAPH, METADATA='POSITION: absolute; WIDTH: 4.583in; HEIGHT: 3.583in; TOP: 4.052in; LEFT: 7.688in', $
OBJECT=IMAGE, NAME='image1', IMAGE=bata.jpg, ALT='', POSITION=(0.416 0.104), DIMENSION=(1.875 0.427), METADATA='POSITION: absolute; WIDTH: 1.875in; HEIGHT: 0.427in; TOP: 0.104in; LEFT: 0.416in', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_testata_am.fex
SET COMPONENT='graph1'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_sales_pairs_sest_am.fex
SET COMPONENT='graph2'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_sales_turnover_sest_am.fex
SET COMPONENT='graph3'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_sales_margin_am.fex
SET COMPONENT='graph4'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_stock_pairs_am.fex
SET COMPONENT='graph5'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_stock_value_am.fex
SET COMPONENT='graph6'
-*component_type graph
-INCLUDE IBFS:/WFC/Repository/BATAV01/Template/model_g_sales_outrate_am.fex
COMPOUND END
This is a tipical Graph
GRAPH FILE SALES_MARGIN
-* Created by Info Assist for Graph
SUM COMPUTE SALMARGIN/D12.2%=( ( SALES_MARGIN.SEG01.SALES_VALUE - SALES_MARGIN.SEG01.SALES_COST )/SALES_MARGIN.SEG01.SALES_VALUE ) * 100 ; AS 'SALES MRG %'
BY SALES_MARGIN.SEG01.STORE_COD AS 'SALES MRG%' NOPRINT
WHERE SALES_MARGIN.SEG01.STORE_COD EQ '&STORE';
ON GRAPH HOLD FORMAT PNG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH GAUGE1
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setCurveFitEquationDisplay(false);
setPlace(true);
setGaugeRelativeInnerRadius(0.1);
setGaugeRelativeThickness(0.7);
setGaugeStopAngle(0.0);
setGaugeStartAngle(180.0);
setDisplay(getGaugeBand5(),false);
setGaugeShowZeroLabel(false);
setDisplay(getGaugeBand4(),false);
setFillColor(getGaugeBand3(),new Color(0,255,64));
setBorderColor(getGaugeBand3(),new Color(0,255,64));
setBorderColor(getGaugeBand2(),new Color(255,255,255));
setGaugeTitlePosition(1);
setScaleMinAuto(getY1Axis(),false);
setFillColor(getGaugeNeedle(),new Color(0,0,255));
setScaleMaxAuto(getY1Axis(),false);
setBorderColor(getGaugeMajorTick(),new Color(32,0,32));
setFillColor(getGaugeBand2(),new Color(255,255,255));
setTransparentFillColor(getSeries(*),true);
setFillColor(getFrame(),new Color(255,255,255));
setPieTilt(0);
setPieDepth(0);
setDepthRadius(0);
setDepthAngle(0);
setFrameAutoShade(false);
setTransparentBorderColor(getFrameSide(),true);
setTransparentBorderColor(getFrameBottom(),true);
setTransparentFillColor(getFrameBottom(),true);
setTransparentFillColor(getFrameSide(),true);
setGradientPinPosition0(getChartBackground(),0.0);
setGradientPinPosition1(getChartBackground(),1.0);
setGradientNumPins(getChartBackground(),3);
setGradientPinPosition1(getChartBackground(),0.5);
setGradientPinPosition2(getChartBackground(),1.0);
setFillType(getChartBackground(),1);
setFillColor(getChartBackground(),new Color(255,255,255));
setTransparentBorderColor(getChartBackground(),true);
setBorderColor(getChartBackground(),new Color(255,255,255));
setBorderColor(getFrameSide(),new Color(255,255,255));
setBorderColor(getFrameBottom(),new Color(255,255,255));
setTransparentFillColor(getFrame(),true);
setLegendPosition(1);
setFontSizeAbsolute(getLegendText(),true);
setAutofit(getLegendText(),false);
setFontSizeInPoints(getLegendText(),10);
setPlaceResize(getLegendText(),0);
setFontStyle(getLegendText(),2);
setFillColor(getLegendText(),new Color(255,0,0));
setSquareMarkers(false);
setFillColor(getGaugeTitle(),new Color(255,0,0));
setFontSizeAbsolute(getGaugeTitle(),true);
setAutofit(getGaugeTitle(),false);
setFontSizeInPoints(getGaugeTitle(),12);
setPlaceResize(getGaugeTitle(),0);
setFillColor(getGaugeValue(),new Color(255,0,0));
setFontSizeAbsolute(getGaugeValue(),true);
setAutofit(getGaugeValue(),false);
setPlaceResize(getGaugeValue(),0);
setDisplay(getGaugeValue(),true);
setFontSizeInPoints(getGaugeValue(),18);
setDisplay(getY1Label(),false);
setGaugeMajorAutoStep(false);
setGridStep(getY1MajorGrid(),10.0);
setGaugeMinorAutoStep(false);
setGridStep(getY1MinorGrid(),1.0);
setGaugeMinorTickRelativeTickLength(0.05);
setGaugeMajorTickRelativeTickLength(0.15);
setGaugeSizeMode(true);
setGaugeBandMax(getGaugeBand2(),70.0);
setGaugeBandMin(getGaugeBand3(),70.1);
setScaleMin(getY1Axis(),30.0);
setGaugeBandMin(getGaugeBand1(),30.0);
setScaleMax(getY1Axis(),90.0);
setGaugeBandMax(getGaugeBand3(),90.0);
setGaugeBandMax(getGaugeBand1(),40.0);
setGaugeBandMin(getGaugeBand2(),40.1);
setDisplay(getGaugeTitle(),false);
setPiesPerRow(1);
setGaugeBackgroundStyle(3);
setBorderColor(getGaugeNeedle(0),new Color(0,0,255));
setGaugeNeedleStyle(2);
setDisplay(getAnnotationBox(0), true);
setTextString(getAnnotation(0), "SALES MRG%");
setTextJustHoriz(getAnnotation(0), 1);
setFontSize(getAnnotation(0), 15);
setFontStyle(getAnnotation(0), 3);
setFillColor(getAnnotation(0),new Color(255,0,0));
setRect(getAnnotation(0), new Rectangle(-3500, -14500,7000, 1500));
ENDSTYLE
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
TYPE=FOOTING, JUSTIFY=LEFT, FONT='ARIAL', SIZE=10, COLOR=RGB(255 0 0), $
TYPE=SUBFOOT, JUSTIFY=CENTER, FONT='ARIAL', SIZE=10, COLOR=RGB(255 0 0), $
ENDSTYLE
END
This message has been edited. Last edited by: Kerry , March 12, 2013 04:00 PM WEBFOCUS 8.x Windows, All Outputs