private class GChart.LegendAdapter extends Object implements ChartLegend
| Modifier and Type | Field and Description |
|---|---|
private String |
alignment |
private boolean |
enabled |
private String |
position |
private GChartTextStyle |
style |
| Modifier | Constructor and Description |
|---|---|
private |
LegendAdapter() |
| 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 boolean enabled
private String position
private String alignment
private GChartTextStyle style
public 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