February 15, 2008, 12:19 PM
yogiadd space between Pie graph title and pie chart filler text
Hello
How do we add space between Pie graph titles and pie lables filler text+Line? Sometimes there is very little space or other times Pie lable tex gets mixed with graph title.
PieFeelerTextDisplay - In case if try you to add Pie Filler Text only still text will merge with title. if u select filler on Pie then it will be clutter on graph and nothing can be seen.
rotating graph does not guarantee that filler text or line will not merge with title when some different selection criteria is selected.
How can we add 1 or 2 lines blank space between pie chart and subtile or reduce length of pie chart lable arrows?
Thanks,
Here is simple code witrh CAR file
GRAPH FILE CAR
PRINT RC AS ''
ACROSS COUNTRY AS 'Derate '
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET 3D ON
ON GRAPH SET HAXIS 720
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPieDepth(40);
setPieFeelerTextDisplay(1);
setPlace(true);
setTextString(getTitle(),"PIE TITLE");
setDisplay(getTitle(),true);
setTextString(getSubtitle(),"THIS IS A LONG PIE SUBHEADING TO TEST FILLER T");
setDisplay(getSubtitle(),true);
setTextFormatPreset(getPieSliceLabel(),6);
setMarkerShape(getLegendLabelMarker(0),1);
setLegendTextAutosize(true);
setTextString(getAnnotation(0),"");
setDisplay(getAnnotation(0),false);
setFillColor(getChartBackground(),new Color(255,255,255));
setTransparentBorderColor(getChartBackground(),true);
restoreAllSlices();
setLegendPosition(10);
setPieLabelDisplay(6);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, TARGET='_BLANK', $
ENDSTYLE
END
February 15, 2008, 04:00 PM
PrarieTo add a second line in a SubTitle you - you add \n plus the text...I can't seem to make it be a blank.
Change the line to the following and you at least get it to move with a period. I'm sure someone knows how to make it a blank.
setTextString(getSubtitle(),"THIS IS A LONG PIE SUBHEADING TO TEST FILLER T\n .");