private class JFChartBase.LegendAdapter extends Object implements ChartLegend
| Modifier and Type | Field and Description |
|---|---|
private org.jfree.chart.JFreeChart |
chart |
| Modifier | Constructor and Description |
|---|---|
private |
LegendAdapter(org.jfree.chart.JFreeChart chart)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ChartLegend |
bottom()
Positions the legend on the bottom of the plot
|
ChartLegend |
left()
Positions the legend to the left of the plot
|
ChartLegend |
off()
Turns the chart legend off
|
ChartLegend |
on()
Turns the chart legend on
|
ChartLegend |
right()
Positions the legend to the right of the plot
|
ChartLegend |
top()
Positions the legend on the top of the plot
|
private LegendAdapter(org.jfree.chart.JFreeChart chart)
chart - the chart referencepublic ChartLegend on()
ChartLegendon in interface ChartLegendpublic ChartLegend off()
ChartLegendoff in interface ChartLegendpublic ChartLegend right()
ChartLegendright in interface ChartLegendpublic ChartLegend left()
ChartLegendleft in interface ChartLegendpublic ChartLegend top()
ChartLegendtop in interface ChartLegendpublic ChartLegend bottom()
ChartLegendbottom in interface ChartLegendCopyright 2014-2017, Xavier Witdouck