public final class DefaultLegend extends Object implements IsDefaultLegend
| Constructor and Description | 
|---|
| DefaultLegend() | 
| Modifier and Type | Method and Description | 
|---|---|
| LegendAlign | getAlign()Returns the alignment of the legend. | 
| IsDefaultLegendLabels | getLabels()Returns the labels object defaults. | 
| Position | getPosition()Returns the position of the legend. | 
| TextDirection | getTextDirection()Returns the text direction that will force on the canvas for rendering the object, regardless of the CSS specified on the
 canvas. | 
| boolean | isDisplay()Returns  trueif the legend is shown. | 
| boolean | isFullWidth()Returns  trueif marks that this box should take the full width of the canvas (pushing down other boxes) | 
| boolean | isReverse()Returns if the legend will show datasets in reverse order. | 
| boolean | isRtl()Returns  truefor rendering the object from right to left. | 
public IsDefaultLegendLabels getLabels()
IsDefaultLegendgetLabels in interface IsDefaultLegendpublic boolean isDisplay()
IsDefaultLegendtrue if the legend is shown.isDisplay in interface IsDefaultLegendtrue if the legend is shown.public boolean isFullWidth()
IsDefaultLegendtrue if marks that this box should take the full width of the canvas (pushing down other boxes)isFullWidth in interface IsDefaultLegendtrue if marks that this box should take the full width of the canvas (pushing down other boxes).public boolean isReverse()
IsDefaultLegendisReverse in interface IsDefaultLegendpublic Position getPosition()
IsDefaultLegendgetPosition in interface IsDefaultLegendpublic LegendAlign getAlign()
IsDefaultLegendgetAlign in interface IsDefaultLegendpublic boolean isRtl()
IsDefaultTextDirectionertrue for rendering the object from right to left.isRtl in interface IsDefaultTextDirectionertrue for rendering the object from right to left.public TextDirection getTextDirection()
IsDefaultTextDirectionergetTextDirection in interface IsDefaultTextDirectioner