Axis that CustomTick belongs to.
Scale of owning axis.
Disposes all custom tick sub-elements
This for fluid interface
Remove Marker from rendering collection, so it can be safely trashed by GC
Object itself for fluent interface
Grid stroke length as a % of the viewport size
Grid stroke style as a LineStyle object
Get boolean flag for whether object is currently under mouse or not
Boolean for is object under mouse currently
Get marker of tick.
PointableTextBox object
Mouse interactions state
Size of padding at sides of label
Value of CustomTick
True if all customTick child elements are disposed, false if not.
True if visible and False for invisible
Check that customTick fit the main scale
Boolean with the result
Remove event listener from Mouse Click Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Double Click Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Down Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Start Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Stop Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Enter Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Leave Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Move Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Up Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Wheel Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch End Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch Move Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch Start Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Subscribe to Mouse Click event
Function that will be called when mouse clicks the bounds of UiObject.
Token-object that is a reference ID to the listener created.
Subscribe to Mouse Double Click event
Subscribe to Mouse Down event
Subscribe to Mouse Drag event
Subscribe to Mouse Drag Start event
Subscribe to Mouse Drag Stop event
Subscribe to Mouse Enter event
Function that will be called when mouse enters the bounds of UiObject.
Token-object that is a reference ID to the listener created.
Subscribe to Mouse Leave event
Function that will be called when mouse leaves the bounds of UiObject.
Token-object that is a reference ID to the listener created.
Subscribe to Mouse Move event
Event handler function
Token of subscription
Subscribe to Mouse Up event
Subscribe to Mouse Wheel event
Event handler function
Token of subscription
Subscribe to Touch End event
Event handler function
Token of subscription
Subscribe to Touch Move event
Event handler function
Token of subscription
Subscribe to Touch Start event
Event handler function
Token of subscription
Restore all sub-elements of custom tick
This for fluent interface
Place Marker back to rendering collection, so it became visible again
Object itself for fluent interface
Set length of grid stroke in percents
Grid line length as a % of viewport size
This for fluent interface
Grid stroke style
This for fluent interface
Mutator function for the TickMarker
TickMarker mutator function
Object itself for fluent interface
Set mouse interactions enabled or disabled
Specifies state of mouse interactions
Object itself for fluent interface
Set padding on sides of label
Distance in pixels
Object itself for fluent interface
Set text of CustomTicks' Marker with a formatting function.
Example usage:
Desired result | Argument |
---|---|
Marker shows formatted position of CustomTick on its Axis | (position, customTick) => customTick.axis.formatValue(position) |
Marker shows 'Hello world' | (position, customTick) => 'Hello world' |
A function of type: CustomTickTextFormatter, that defines text of CustomTicks' Marker.
Object itself
Sets the position of this custom tick on its Axis
Value in the units of main scale
This for fluid interface
Custom tick.
Is designed to be used strictly by Axis objects.