I've been trying to recreate my problem using the car file but for some reason my svg graphs only appear as a placeholder on my desktop developer so I can't show you what is happening to me.
I am creating a svg graph that is 3d. If I have only 1 color (one item appearing that is 100%), the 3d function goes funky (nice technical word). IBI's solution a few years back was to remove the 3d option. The business really wants 3D. Does anyone have a work around? I'll put my code that it's happening on since I can't recreate with the car file:
SET LOOKGRAPH=PIE
SET 3D=ON
GRAPH FILE HOLD340
SUM XPCT_OF_PORTFOLIO AS ' '
ACROSS XCATEGORY
WHERE ( XCATEGORYID NE 'ZTOTAL');
ON GRAPH SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR=NONE,
STYLE=NORMAL,
$
ENDSTYLE
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET GRAPHSTYLE *
setPieRotate(45);
setLabelStagger(getO1Label(),true);
setLabelStagger(getPieSliceLabel(),true);
setO1LabelStagger(true);
setPieFeelerTextDisplay(2);
setPieLabelDisplay(1);
setFillColor(getSeries(0),new Color(255,0,0));
setFillColor(getSeries(1),new Color(0,0,255));
setFillColor(getSeries(2),new Color(255,255,0));
setFillColor(getSeries(3),new Color(50,205,50));
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(false);
setUseSeriesBorderDefaults(true);
setFillMissingData(0);
setLegendPosition(2);
setPlace(true);
setTextJustHoriz(getLegendText(),0);
setAutofit(getLegendText(),true);
setFontSizeVC(getLegendText(),1800);
setLegendMarkerPosition(0);
ENDSTYLE
ON GRAPH SAVE AS HOLD800 FORMAT SVG
END
Thanks.
webfocus 8.105M; os: windows; pdf, html, exl2k, csv