public interface IsDefaultOptions extends IsDefaultAnimationContainer
Modifier and Type | Method and Description |
---|---|
double |
getAspectRatio()
Canvas aspect ratio (i.e.
|
String |
getBackgroundColorAsString()
Returns the default background color to use in the chart, on all objects, if not override by the specific configuration.
|
String |
getBorderColorAsString()
Returns the default border color to use in the chart, on all objects, if not override by the specific configuration.
|
double |
getCircumference()
Returns the the sweep to allow arcs to cover.
|
String |
getColorAsString()
Returns the default color to use in the chart, on all objects, if not override by the specific configuration.
|
double |
getCutout()
Returns the portion of the chart that is cut out of the middle.
As Double , it is considered to be pixels. |
String |
getCutoutPercentage()
Returns the portion of the chart that is cut out of the middle.
As String and ending with '%', percentage of the chart radius. |
IsDefaultDatasets |
getDatasets()
Returns the plugins defaults.
|
IsDefaultDecimation |
getDecimation()
Returns the decimation defaults.
|
double |
getDevicePixelRatio()
The chart's canvas will use a 1:1 pixel ratio, unless the physical display has a higher pixel ratio (e.g.
|
IsDefaultElements |
getElements()
Returns the elements defaults.
|
Set<Event> |
getEvents()
Returns the browser events that the chart should listen to.
|
IsDefaultFiller |
getFiller()
Returns the filler defaults.
|
IsDefaultFont |
getFont()
Returns the font element.
|
IsDefaultInteraction |
getHover()
Returns the hover defaults.
|
IndexAxis |
getIndexAxis()
Returns the base axis for the dataset, only for bar options.
|
IsDefaultInteraction |
getInteraction()
Returns the interaction defaults.
|
IsDefaultLayout |
getLayout()
Returns the layout defaults.
|
IsDefaultLegend |
getLegend()
Returns the legend defaults.
|
CLocale |
getLocale()
Returns the locale instance for internationalization.
|
IsDefaultPlugins |
getPlugins()
Returns the plugins defaults.
|
double |
getRadius()
Returns the outer radius of the chart.
As Double , it is considered to be pixels. |
String |
getRadiusPercentage()
Returns the outer radius of the chart.
As String and ending with '%', percentage of the maximum radius. |
double |
getResizeDelay()
Returns the delay the resize update by give amount of milliseconds.
This can ease the resize process by debouncing update of the elements. |
double |
getRotation()
Returns the starting angle to draw arcs from.
|
IsDefaultSubtitle |
getSubtitle()
Returns the title defaults.
|
IsDefaultTitle |
getTitle()
Returns the title defaults.
|
IsDefaultTooltips |
getTooltips()
Returns the tooltips defaults.
|
boolean |
isDestroyOnDetach()
Returns
true if the chart is configured to be destroyed on the attach of DIV element, otherwise false . |
boolean |
isDrawOnAttach()
Returns
true if the chart is configured to be drawn on the attach of DIV element, otherwise false . |
boolean |
isMaintainAspectRatio()
Returns the the maintaining of the original canvas aspect ratio (width / height) when resizing.
|
boolean |
isResponsive()
Returns the resizing of the chart canvas when its container does.
|
boolean |
isShowLine()
If false, the lines between points are not drawn.
|
boolean |
isSkipNull()
If true, null or undefined values will not be drawn.
|
boolean |
isSpanGaps()
If false,
Double.NaN data causes a break in the line. |
getTransitions
getAnimation, getAnimations
IsDefaultInteraction getHover()
IsDefaultInteraction getInteraction()
IsDefaultTitle getTitle()
IsDefaultSubtitle getSubtitle()
IsDefaultLegend getLegend()
IsDefaultTooltips getTooltips()
IsDefaultDecimation getDecimation()
IsDefaultFiller getFiller()
IsDefaultLayout getLayout()
IsDefaultElements getElements()
IsDefaultPlugins getPlugins()
IsDefaultDatasets getDatasets()
IsDefaultFont getFont()
Set<Event> getEvents()
CLocale getLocale()
boolean isResponsive()
boolean isMaintainAspectRatio()
double getAspectRatio()
double getResizeDelay()
double getDevicePixelRatio()
String getColorAsString()
String getBackgroundColorAsString()
String getBorderColorAsString()
boolean isShowLine()
boolean isSkipNull()
boolean isSpanGaps()
Double.NaN
data causes a break in the line.Double.NaN
data causes a break in the line.double getCutout()
Double
, it is considered to be pixels.Double
, it is considered to be pixels.String getCutoutPercentage()
String
and ending with '%', percentage of the chart radius.String
and ending with '%', percentage of the chart radius.double getRadius()
Double
, it is considered to be pixels.Double
, it is considered to be pixels.String getRadiusPercentage()
String
and ending with '%', percentage of the maximum radius.String
and ending with '%', percentage of the maximum radius.double getRotation()
double getCircumference()
IndexAxis getIndexAxis()
boolean isDrawOnAttach()
true
if the chart is configured to be drawn on the attach of DIV element, otherwise false
.true
if the chart is configured to be drawn on the attach of DIV element, otherwise false
.boolean isDestroyOnDetach()
true
if the chart is configured to be destroyed on the attach of DIV element, otherwise false
.true
if the chart is configured to be destroyed on the attach of DIV element, otherwise false
.