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.IDplugin.org.pepstock.charba.client.datalabels.events Contains theDataLabelsPlugin.IDplugin 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 EventPointHelpers. 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 voidClickCallback. onClick(AnnotationContext context, ChartEventContext event)Method called once click is fired.voidDoubleClickCallback. onDoubleClick(AnnotationContext context, ChartEventContext event)Method called once dblclick is fired.voidEnterCallback. onEnter(AnnotationContext context, ChartEventContext event)Method called once enter is fired.voidLeaveCallback. 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 booleanAbstractEventHandler. onClick(DataLabelsContext context, ChartEventContext event)booleanClickEventHandler. onClick(DataLabelsContext context, ChartEventContext event)Invoked to manage CLICK events on labels.booleanAbstractEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)booleanEnterEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)Invoked to manage ENTER events on labels.booleanAbstractEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)booleanLeaveEventHandler. 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 booleanModifierKey. arePressed(ChartEventContext event, ModifierKey... keys)Returnstrueif all modifier keys are pressed when the event was emitted.booleanModifierKey. isPressed(ChartEventContext event)Returnstrueif 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 ChartEventContextIsCommonChartEvent. 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 booleanDataLabelsSelectionHandler. onClick(DataLabelsContext context, ChartEventContext event)booleanDataLabelsPointerHandler. onEnter(DataLabelsContext context, ChartEventContext event)booleanDataLabelsPointerHandler. 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 ChartEventContextPluginEventArgument. 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 ScaleValueItemScaleItem. getValueAtEvent(ChartEventContext context)Returns the value on the axis related to an event position.
-