public final class Pie.PieOtherSlice extends TeeBase
Title: PieOtherSlice class
Description: Pie series uses this class in its Pie.OtherSlice.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Pie.getOtherSlice()
,
Serialized Formchart, InternalUse
Constructor and Description |
---|
PieOtherSlice(IBaseChart c,
Series s) |
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
The Color of the OtherSlice.
|
Legend |
getLegend()
Sets the properties of the PieOtherSlice Legend.
Example This sample shows how to use PieOtherSlice Legend: prepare "Other" to group values below 10 pie1.getOtherSlice().setStyle(PieOtherStyles.BELOWVALUE); pie1.getOtherSlice().setValue(10); pie1.getOtherSlice().setText("Other"); pie1.getOtherSlice().getLegend().setVisible( true ); pie1.getOtherSlice().getLegend().setCustomPosition( true ); pie1.getOtherSlice().getLegend().setLeft( 350 ); pie1.getOtherSlice().getLegend().setTop( 150 ); |
PieOtherStyle |
getStyle()
Either value or percentage to group the 'other' Pie slice.
|
java.lang.String |
getText()
Title for otherSlice.
Default value: Other |
double |
getValue()
Value (value or percentage) for Otherslice grouping.
|
void |
setColor(Color value)
Sets the Color of the OtherSlice.
|
void |
setStyle(PieOtherStyle value)
Sets either value or percentage to group the 'other' Pie slice.
|
void |
setText(java.lang.String value)
Title for otherSlice.
Default value: Other |
void |
setValue(double value)
Value (value or percentage) for Otherslice grouping.
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public PieOtherSlice(IBaseChart c, Series s)
public Color getColor()
public void setColor(Color value)
value
- Colorpublic Legend getLegend()
public java.lang.String getText()
public void setText(java.lang.String value)
value
- Stringpublic double getValue()
public void setValue(double value)
value
- doublepublic PieOtherStyle getStyle()
public void setStyle(PieOtherStyle value)
value
- PieOtherStyles