public final class Defaults extends Object
defaults
object that CHART.JS (by CHART object) provides to get defaults values.Modifier and Type | Method and Description |
---|---|
static Defaults |
get()
Singleton method to get static instance.
|
Controllers |
getControllers()
Returns the controllers.
|
GlobalOptions |
getGlobal()
Returns the global options.
|
ChartOptions |
getOptions(Type type)
Returns the default options by a chart type, by defaults of CHART.JS
|
GlobalPlugins |
getPlugins()
Returns the global plugins manager.
|
GlobalScale |
getScale()
Returns the global scale.
|
public static Defaults get()
public GlobalOptions getGlobal()
public GlobalScale getScale()
public GlobalPlugins getPlugins()
public Controllers getControllers()
public ChartOptions getOptions(Type type)
type
- chart type.