private class JFPiePlot.MorpheusPieLabels extends Object implements PieLabels
| Modifier and Type | Field and Description |
|---|---|
private JFPiePlot.LabelType |
labelType |
private DecimalFormat |
percentFormat |
private DecimalFormat |
valueFormat |
| Constructor and Description |
|---|
MorpheusPieLabels()
Constructor
|
| 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 JFPiePlot.LabelType labelType
private DecimalFormat valueFormat
private DecimalFormat percentFormat
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