ContentsPie chartsEffects
Previous: Apples to apples | Next: User Interaction

Effects

Pie charts have hidden rendering options, just like regular charts. The text in the legend is controlled the same way. In addition, there are different effects that can be applied to each slice.

One such effect is the use of (or lack of use of) the fill color as being the same as the line color. When they are the same, it has the effect of making that slice seem less important. When they are different - sometimes contrastingly so - it has the effect of highlighting that slice. code / output

Another effect is to explode a slice by invoking PieSlice.setExplodeDistance() Unless you really have a compelling reason, you should only explode one slice. This has the effect of drawing attention to that slice. code / output


ContentsPie chartsEffects
Previous: Apples to apples | Next: User Interaction