Class DefaultChartLayout
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartLayout
-
- All Implemented Interfaces:
IsDefaultLayout
public final class DefaultChartLayout extends Object implements IsDefaultLayout
Defaults for layout option element, based on chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description DefaultChartLayout(IsDefaultLayout layout)
Creates the object by layout option element instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultPadding
getPadding()
Returns padding object defaults.boolean
isAutoPadding()
Returnstrue
to apply automatic padding so visible elements are completely drawn.
-
-
-
Constructor Detail
-
DefaultChartLayout
public DefaultChartLayout(IsDefaultLayout layout)
Creates the object by layout option element instance.- Parameters:
layout
- layout option element instance.
-
-
Method Detail
-
getPadding
public IsDefaultPadding getPadding()
Description copied from interface:IsDefaultLayout
Returns padding object defaults.- Specified by:
getPadding
in interfaceIsDefaultLayout
- Returns:
- padding object defaults.
-
isAutoPadding
public boolean isAutoPadding()
Description copied from interface:IsDefaultLayout
Returnstrue
to apply automatic padding so visible elements are completely drawn.- Specified by:
isAutoPadding
in interfaceIsDefaultLayout
- Returns:
true
to apply automatic padding so visible elements are completely drawn
-
-