public final class ExtendedOptions extends ScaledOptions
Constructor and Description |
---|
ExtendedOptions(IsDefaultScaledOptions defaultValues)
Creates an options with default provider.
|
Modifier and Type | Method and Description |
---|---|
void |
setCallback(Key property,
CallbackProxy.Proxy proxy)
This method adds new callback function proxy to the element, as property of native java script object.
|
void |
setCallback(LegendLabels labels,
Key property,
CallbackProxy.Proxy proxy)
Adds a event proxy function to legend labels element instance.
|
void |
setCallback(TooltipsCallbacks tooltips,
Key property,
CallbackProxy.Proxy proxy)
Adds a event proxy function to tooltips callbacks element instance.
|
void |
setCallback(Tooltips tooltips,
Key property,
CallbackProxy.Proxy proxy)
Adds a event proxy function to tooltips element instance.
|
void |
setCharbaId(String id)
Sets the CHARBA id when new chart instance is created.
|
void |
setEvent(Animation animation,
Key property,
CallbackProxy.Proxy proxy)
Adds a event proxy function to animation element instance.
|
void |
setEvent(Key property,
CallbackProxy.Proxy proxy)
This method adds new event function proxy to the element, as property of native java script object.
|
void |
setEvent(Legend legend,
Key property,
CallbackProxy.Proxy proxy)
Adds a event proxy function to legend element instance.
|
getScale, getScales, setScale
getAnimation, getAspectRatio, getCharbaId, getCircumference, getCutoutPercentage, getDefaultColor, getDefaultColorAsString, getDefaultFontColor, getDefaultFontColorAsString, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getDevicePixelRatio, getElements, getEvents, getHover, getLayout, getLegend, getPlugins, getResponsiveAnimationDuration, getRotation, getStartAngle, getTitle, getTooltips, isMaintainAspectRatio, isResponsive, isShowLines, isSpanGaps, setAspectRatio, setCircumference, setCutoutPercentage, setDefaultColor, setDefaultColor, setDefaultFontColor, setDefaultFontColor, setDefaultFontFamily, setDefaultFontSize, setDefaultFontStyle, setDevicePixelRatio, setEvents, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDuration, setRotation, setShowLines, setSpanGaps, setStartAngle
checkAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModel
getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnimation, getAspectRatio, getCircumference, getCutoutPercentage, getDefaultColorAsString, getDefaultFontColorAsString, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getDevicePixelRatio, getElements, getHover, getLayout, getLegend, getResponsiveAnimationDuration, getRotation, getStartAngle, getTitle, getTooltips, isMaintainAspectRatio, isResponsive, isShowLines, isSpanGaps
public ExtendedOptions(IsDefaultScaledOptions defaultValues)
defaultValues
- default provider.public void setCharbaId(String id)
id
- CHARBA id.public void setEvent(Key property, CallbackProxy.Proxy proxy)
property
- property name.proxy
- function proxy to activate.public void setCallback(Key property, CallbackProxy.Proxy proxy)
property
- property name.proxy
- function proxy to activate.public void setEvent(Animation animation, Key property, CallbackProxy.Proxy proxy)
animation
- animation element instance.property
- property name.proxy
- function proxy to activate.public void setEvent(Legend legend, Key property, CallbackProxy.Proxy proxy)
legend
- legend element instanceproperty
- property name.proxy
- function proxy to activate.public void setCallback(LegendLabels labels, Key property, CallbackProxy.Proxy proxy)
labels
- legend labels element instance.property
- property name.proxy
- function proxy to activate.public void setCallback(Tooltips tooltips, Key property, CallbackProxy.Proxy proxy)
tooltips
- tooltips element instance.property
- property name.proxy
- function proxy to activate.public void setCallback(TooltipsCallbacks tooltips, Key property, CallbackProxy.Proxy proxy)
tooltips
- tooltips callbacks element instance.property
- property name.proxy
- function proxy to activate.