Get theme effect enabled on component or disabled.
A theme can specify an Effect to add extra visual oomph to chart applications, like Glow effects around data or other components.
Whether this effect is drawn above a particular component can be configured using the setEffect
method.
// Example, disable theme effect from a particular component.
Component.setEffect(false)
For the most part, theme effects are enabled by default on most components.
Theme effect is configured with effect property.
Boolean that describes whether drawing the theme effect is enabled around the component or not.
Get mouse style.
Interface for defining how mouse should look when hovering over UI object
Subscribe to onDispose
event.
This event is triggered whenever the object is disposed.
A component can only be disposed by the end user, by calling the dispose
method on the component or the component which owns it.
// Example usage
Dashboard.onDispose(() => {
console.log('Dashboard was disposed')
})
Dashboard.dispose()
Token of subscription
Handler function for event
Subscribe on Mouse Enter click
Token of subscription
Event handler function
Subscribe to Mouse Double Click event
Token of subscription
Event handler function
Subscribe to Mouse Down event
Token of subscription
Event handler function
Subscribe to Mouse Drag event
Token of subscription
Event handler function
Subscribe to Mouse Drag Start event
Token of subscription
Event handler function
Subscribe to Mouse Drag Stop event
Token of subscription
Event handler function
Subscribe on Mouse Enter event
Token of subscription
Event handler function
Subscribe on Mouse Enter leave
Token of subscription
Event handler function
Subscribe to Mouse Move event
Token of subscription
Event handler function
Subscribe to Mouse Up event
Token of subscription
Event handler function
Subscribe to Mouse Wheel event
Token of subscription
Event handler function
Subscribe to Touch End event
Token of subscription
Event handler function
Subscribe to Touch Move event
Token of subscription
Event handler function
Subscribe to Touch Start event
Token of subscription
Event handler function
Set theme effect enabled on component or disabled.
A theme can specify an Effect to add extra visual oomph to chart applications, like Glow effects around data or other components.
Whether this effect is drawn above a particular component can be configured using the setEffect
method.
// Example, disable theme effect from a particular component.
Component.setEffect(false)
For the most part, theme effects are enabled by default on most components.
Theme effect is configured with effect property.
Object itself.
Theme effect enabled
Set margin around object in pixels.
Object itself
Number with pixel margins for all sides or datastructure with individual pixel margins for each side. Any side can be omitted, only passed values will be overridden.
Set mouse style when hovering over UI object.
Object itself
Interface for defining how mouse should look when hovering over UI object
Interface for abstract part of an UIElement, that does not manage its own location (for example, part of a layout).