public class Layout extends Object implements IsScriptablePaddingProvider<ChartContext>
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the chart instance
|
protected ExtendedOptions |
getConfiguration()
Returns the configuration element.
|
protected ConfigurationOptions |
getOptions()
Returns the configuration options.
|
Padding |
getPadding()
Returns the padding element.
|
PaddingCallback<ChartContext> |
getPaddingCallback()
Returns the padding callback, if set, otherwise
null . |
void |
setPadding(NativeCallback paddingCallback)
Sets the padding callback.
|
void |
setPadding(PaddingCallback<ChartContext> paddingCallback)
Sets the padding callback.
|
public Padding getPadding()
public PaddingCallback<ChartContext> getPaddingCallback()
null
.getPaddingCallback
in interface IsScriptablePaddingProvider<ChartContext>
null
.public void setPadding(PaddingCallback<ChartContext> paddingCallback)
setPadding
in interface IsScriptablePaddingProvider<ChartContext>
paddingCallback
- the padding callback to setpublic void setPadding(NativeCallback paddingCallback)
setPadding
in interface IsScriptablePaddingProvider<ChartContext>
paddingCallback
- the padding callback to setprotected final ConfigurationOptions getOptions()
protected final ExtendedOptions getConfiguration()
public final IsChart getChart()