Uses of Class
org.pepstock.charba.client.events.ChartEventContext
-
Packages that use ChartEventContext Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.annotation.listeners Contains all callback interfaces to implement for theAnnotationPlugin.ID
plugin.org.pepstock.charba.client.datalabels.events Contains theDataLabelsPlugin.ID
plugin event handlers interfaces to catch event of plugin.org.pepstock.charba.client.enums Contains all enumerations of some chart options where only a specific set of values can be set.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.impl.callbacks Contains some callbacks implementations, available out-of-the box.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers. -
-
Uses of ChartEventContext in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type ChartEventContext Modifier and Type Method Description EventPoint
Helpers. getRelativePosition(ChartEventContext eventContext)
A common occurrence is taking an event, such as a click, and finding the data coordinates on the chart where the event occurred. -
Uses of ChartEventContext in org.pepstock.charba.client.annotation.listeners
Methods in org.pepstock.charba.client.annotation.listeners with parameters of type ChartEventContext Modifier and Type Method Description boolean
ClickCallback. onClick(AnnotationContext context, ChartEventContext event)
Method called once click is fired.boolean
EnterCallback. onEnter(AnnotationContext context, ChartEventContext event)
Method called once enter is fired.boolean
LeaveCallback. onLeave(AnnotationContext context, ChartEventContext event)
Method called once leave is fired. -
Uses of ChartEventContext in org.pepstock.charba.client.datalabels.events
Methods in org.pepstock.charba.client.datalabels.events with parameters of type ChartEventContext Modifier and Type Method Description boolean
AbstractEventHandler. onClick(DataLabelsContext context, ChartEventContext event)
boolean
ClickEventHandler. onClick(DataLabelsContext context, ChartEventContext event)
Invoked to manage CLICK events on labels.boolean
AbstractEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)
boolean
EnterEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)
Invoked to manage ENTER events on labels.boolean
AbstractEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)
boolean
LeaveEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)
Invoked to manage LEAVE events on labels. -
Uses of ChartEventContext in org.pepstock.charba.client.enums
Methods in org.pepstock.charba.client.enums with parameters of type ChartEventContext Modifier and Type Method Description static boolean
ModifierKey. arePressed(ChartEventContext event, ModifierKey... keys)
Returnstrue
if all modifier keys are pressed when the event was emitted.boolean
ModifierKey. isPressed(ChartEventContext event)
Returnstrue
if the modifier key is pressed when the event was emitted. -
Uses of ChartEventContext in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return ChartEventContext Modifier and Type Method Description ChartEventContext
IsCommonChartEvent. getContext()
Returns the java script function context of CHART.JS events.Constructors in org.pepstock.charba.client.events with parameters of type ChartEventContext Constructor Description ChartClickEvent(ChartEventContext eventContext, List<DatasetReference> items)
Creates the event with a list of items with dataset references related to the clickChartHoverEvent(ChartEventContext eventContext, List<DatasetReference> items)
Creates the event with a list of items with dataset references related to the hoverChartResizeEvent(ChartEventContext eventContext, SizeItem size)
Creates the event with a item with new size of the chartLegendClickEvent(ChartEventContext eventContext, LegendItem item)
Creates the event with legend item related to the clickLegendHoverEvent(ChartEventContext eventContext, LegendItem item)
Creates the event with legend item related to the hoverLegendLeaveEvent(ChartEventContext eventContext, LegendItem item)
Creates the event with legend item related to the leaving. -
Uses of ChartEventContext in org.pepstock.charba.client.impl.callbacks
Methods in org.pepstock.charba.client.impl.callbacks with parameters of type ChartEventContext Modifier and Type Method Description boolean
DataLabelsSelectionHandler. onClick(DataLabelsContext context, ChartEventContext event)
boolean
DataLabelsPointerHandler. onEnter(DataLabelsContext context, ChartEventContext event)
boolean
DataLabelsPointerHandler. onLeave(DataLabelsContext context, ChartEventContext event)
-
Uses of ChartEventContext in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return ChartEventContext Modifier and Type Method Description ChartEventContext
PluginEventArgument. getEventContext()
Returns the event context in the CHART.JS event.Methods in org.pepstock.charba.client.items with parameters of type ChartEventContext Modifier and Type Method Description ScaleValueItem
ScaleItem. getValueAtEvent(ChartEventContext context)
Returns the value on the axis related to an event position.
-