private class JFXyAxes.AxisLabelAdapter extends Object implements ChartLabel
| Modifier and Type | Field and Description |
|---|---|
private org.jfree.chart.axis.Axis |
axis |
| Modifier | Constructor and Description |
|---|---|
private |
AxisLabelAdapter(org.jfree.chart.axis.Axis axis)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ChartLabel |
withColor(Color color)
Sets the text color
|
ChartLabel |
withFont(Font font)
Sets the font for this text style
|
ChartLabel |
withText(String text)
Sets the text for this label
|
private AxisLabelAdapter(org.jfree.chart.axis.Axis axis)
axis - the axis for this adapterpublic ChartLabel withText(String text)
ChartLabelwithText in interface ChartLabeltext - the text for labelpublic ChartLabel withColor(Color color)
ChartLabelwithColor in interface ChartLabelcolor - color valuepublic ChartLabel withFont(Font font)
ChartLabelwithFont in interface ChartLabelfont - sets the font for textCopyright 2014-2017, Xavier Witdouck