Class DefaultScales
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultScales
-
- All Implemented Interfaces:
IsDefaultScales
public final class DefaultScales extends Object implements IsDefaultScales
CHART.JS default values for scale/axis element.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultScale
getAxis(ScaleId scaleId, AxisKind kind)
Returns the default configuration for x axis.
-
-
-
Method Detail
-
getAxis
public IsDefaultScale getAxis(ScaleId scaleId, AxisKind kind)
Description copied from interface:IsDefaultScales
Returns the default configuration for x axis.- Specified by:
getAxis
in interfaceIsDefaultScales
- Parameters:
scaleId
- the scale id to use to get the defaultkind
- axis kind to use if the scale id is not recognizable- Returns:
- the default configuration for x axis.
-
-