Package org.pepstock.charba.client
Class ChartOptions
-
- All Implemented Interfaces:
HasCallbackScope
,IsDefaultAnimationContainer
,IsDefaultAnimationTransition
,IsDefaultEventHandler
,IsDefaultOptions
,IsDefaultScaledOptions
,HasAnimationOptions
,HasEvents
,HasSpanGaps
public final class ChartOptions extends ScaledOptions
This object is mapping the default options related to the chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pepstock.charba.client.options.Options
Options.CommonProperty
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scales
getScales()
Returns the scale/axis defaults.Type
getType()
Returns the chart type.-
Methods inherited from class org.pepstock.charba.client.options.Options
getAnimation, getAnimationContainer, getAspectRatio, getBackgroundColor, getBackgroundColorAsString, getBorderColor, getBorderColorAsString, getCharbaId, getCircumference, getColor, getColorAsString, getCutout, getCutoutPercentage, getDatasets, getDecimation, getDevicePixelRatio, getElements, getEventsOptionHandler, getFiller, getFont, getHover, getIndexAxis, getInteraction, getLayout, getLegend, getLocale, getPlugins, getRadius, getRadiusPercentage, getResizeDelay, getRotation, getScope, getSpanGapHandler, getSubtitle, getTitle, getTooltips, isAutoColors, isAutoColorsForceOverride, isDestroyOnDetach, isDrawOnAttach, isMaintainAspectRatio, isResponsive, isShowLine, isSkipNull, isSpanGaps, setAspectRatio, setAutoColors, setAutoColorsForceOverride, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setCircumference, setColor, setColor, setCutout, setCutoutPercentage, setDestroyOnDetach, setDevicePixelRatio, setDrawOnAttach, setIndexAxis, setLocale, setMaintainAspectRatio, setRadius, setRadiusPercentage, setResizeDelay, setResponsive, setRotation, setShowLine, setSkipNull
-
Methods inherited from class org.pepstock.charba.client.options.AbstractModel
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractNode
checkAndAddToParent, getChildKey, getParentNode, getRootNode, getUpdateListener, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setUpdateListener, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.options.HasAnimationOptions
getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
-
Methods inherited from interface org.pepstock.charba.client.options.HasEvents
getEvents, setEvents, setEvents
-
Methods inherited from interface org.pepstock.charba.client.options.HasSpanGaps
getSpanGaps, setSpanGaps, setSpanGaps
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptions
getAspectRatio, getBackgroundColorAsString, getBorderColorAsString, getCircumference, getColorAsString, getCutout, getCutoutPercentage, getDatasets, getDecimation, getDevicePixelRatio, getElements, getFiller, getFont, getHover, getIndexAxis, getInteraction, getLayout, getLegend, getLocale, getPlugins, getRadius, getRadiusPercentage, getResizeDelay, getRotation, getSubtitle, getTitle, getTooltips, isAutoColors, isAutoColorsForceOverride, isDestroyOnDetach, isDrawOnAttach, isMaintainAspectRatio, isResponsive, isShowLine, isSkipNull, isSpanGaps
-
-
-
-
Method Detail
-
getType
public Type getType()
Returns the chart type.- Returns:
- the type
-
getScales
public Scales getScales()
Description copied from interface:IsDefaultScaledOptions
Returns the scale/axis defaults.- Specified by:
getScales
in interfaceIsDefaultScaledOptions
- Overrides:
getScales
in classScaledOptions
- Returns:
- the scale/axis defaults.
-
-