October 27, 2006, 01:28 PM
ViralHi,
Sorry for reply very late. I was out and then got swap with other things.
WebFocus is 7.1 and O.S. - Windows2003.
October 27, 2006, 03:54 PM
KerryHi Viral,
Can you please let us know what output format you are using in this case? Based on my research, the PNG (Portable Network Graphics) is currently available only with format
HTML not PDF. GIF & SVG is the only thing available with format PDF. This is true for both WebFOCUS 5.3 and 7.1.4.
If the information above does not help, please post a sample code to the topic using either the most favorite CAR file or other IBI sample data file to illustrate the problem better.
Cheers,
Kerry
November 01, 2006, 02:37 PM
ViralThanks for your reply.
Here is the sample CAR file code.
GRAPH FILE CAR
SUM SALES
BY CAR
ON GRAPH SET LOOKGRAPH HBAR
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 SET VAXIS 300
ON GRAPH SET HAXIS 400
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);
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 *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END
Thanks.
November 01, 2006, 02:40 PM
Francis MarianiThis does work on my WF 5.3.2 server/Windows XP.
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
November 07, 2006, 10:03 AM
KerryHi Viral,
Has this issue been resolved on your side?
I tried your sample code on WebFOCUS 711 and 714, and it generates PNG graphs (as well as GIF and JPEG formats) in both releases. I am wondering, when you receive the error message, are you trying to include the graph generated by the code in a PDF or HTML report?
As always, you may contact Information Builders’ Customer Support Services for assistance at any time. The phone number is 1-800-736-6130, or you may access the online system InfoResponse at
http://techsupport.ibi.com. Here is a list of information to be ready when you call:
http://techsupport.ibi.com/before_you_call.jsp.
Hope this helps.
Cheers,
Kerry
November 07, 2006, 10:42 AM
RichHViral,
Check the setting for graphengine under the WF client console, under configuration -> graph. Make sure it's set for GRAPH53
November 07, 2006, 07:15 PM
ViralThanks all of your for suggestion.
It was set to Graph32. Changed to Graph53.