[SOLVED] COMPOUND PDF empty with run deferred and report caster
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.
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 ENDThis message has been edited. Last edited by: Kerry,
WEBFOCUS 8.x Windows, All Outputs
March 04, 2013, 07:20 PM
FrankDutch
There should be a log file in caster... Did it work in 7.x?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
March 05, 2013, 03:00 AM
FRANCULLO
In the Log there is no error. Everything seems to work but at the end the PDF file, that contains a Fex with only the Title and 6 PNG, displays only the Title. If I launch a "run" by menu the report PDF is OK.
WEBFOCUS 8.x Windows, All Outputs
March 05, 2013, 04:44 AM
Anesh Paul
Instead of saving graph as PNG try saving it as PDF itself.
Eg : ON GRAPH PCHOLD AS GPF1 FORMAT PDF
Windows XP,HTML Production:Webfocus7.7.3 Test: Webfocus 7.7.3 Outputs : HTML,PDF,EXCEL
March 06, 2013, 08:04 PM
FRANCULLO
fantastic now works correctly, writing
ON GRAPH PCHOLD AS GPF1 FORMAT PDF
WEBFOCUS 8.x Windows, All Outputs
September 02, 2015, 06:55 PM
Doug
Don't forget to turn GRMERGE OFF.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206