private class GPiePlot.GPieLabels extends Object implements PieLabels
| Modifier and Type | Field and Description |
|---|---|
private Color |
color |
private Font |
font |
private GPiePlot.LabelType |
labelType |
| Modifier | Constructor and Description |
|---|---|
private |
GPieLabels() |
| Modifier and Type | Method and Description |
|---|---|
PieLabels |
off()
Signals to turn off pie labels
|
PieLabels |
on()
Signals to turn on pie labels
|
PieLabels |
withBackgroundColor(Color color)
Sets the background color for pie section labels
|
PieLabels |
withFont(Font font)
Sets the font for pie section labels
|
PieLabels |
withName()
Signals to show section names
|
PieLabels |
withPercent()
Signals to show section percentages
|
PieLabels |
withTextColor(Color color)
Sets the text color for pie section labels
|
PieLabels |
withValue()
Signals to show section values
|
private GPiePlot.LabelType labelType
private Color color
private Font font
public PieLabels off()
PieLabelspublic PieLabels withName()
PieLabelspublic PieLabels withValue()
PieLabelspublic PieLabels withPercent()
PieLabelswithPercent in interface PieLabelspublic PieLabels withFont(Font font)
PieLabelspublic PieLabels withTextColor(Color color)
PieLabelswithTextColor in interface PieLabelscolor - the text colorpublic PieLabels withBackgroundColor(Color color)
PieLabelswithBackgroundColor in interface PieLabelscolor - the background colorCopyright 2014-2017, Xavier Witdouck