Focal Point
Smart Positioning and on Slice for Pie Chart

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5197020476

December 23, 2014, 09:33 AM
QuickLearner
Smart Positioning and on Slice for Pie Chart
Hello to all,

Can you do "smart positioning" and "on slice" for labelling a pie graph. The customer wants both the name to describe the slice on the slice and smart positioned.


WebFOCUS 7.6
Windows, All Outputs
December 23, 2014, 10:06 AM
Shakila Subhan
quote:
smart positioning

setPieLabelDisplay(3);
setOtherSeries(true);
setOtherPercentage(20.0);
setPieFeelerTextDisplay(4);

When using either of these methods, the chart will display the labels inside
the slices


WebFOCUS 8.0.08 - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Windows, All Outputs
December 23, 2014, 11:10 AM
QuickLearner
quote:
setOtherSeries(true);
setOtherPercentage(20.0);

quote:
setPieLabelDisplay(3);
setOtherSeries(true);
setOtherPercentage(20.0);
setPieFeelerTextDisplay(4);


This doesn's seem to work.


WebFOCUS 7.6
Windows, All Outputs
December 23, 2014, 11:11 AM
QuickLearner
I need both to render at the same time. I need the pie chart to show on the slice and smart positioned.


WebFOCUS 7.6
Windows, All Outputs
December 24, 2014, 12:38 PM
<nick z>
"Smart position" means place the Data label inside the slice, unless there is not enough space for the label to fit "nicely" and therefore the label will be outside the slice for that particular slice.
"On Slice" means to ALWAYS put the data label inside the slice.
So just by definition, you can't have both positon setting at the same time.
Now the other part of the question was that the customer wants the description of the slice.
The description of the slice is not a "position" of a slice.
To describe the slice you have to set Label display to have both the Name and either Percent or Value or both Percent and Value.
You can see your options to set Label display from Pie Labels dialog in InfoAssit by clicking on Series tab-->dropdown arrow on Data Labels-->More Data Labels Options.
Hope this helps.
Thanks.
Nick.