Package | Description |
---|---|
org.pepstock.charba.client.events |
Contains all events to interact with chart instance.
|
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.
|
Modifier and Type | Method and Description |
---|---|
ChartEventContext |
IsCommonChartEvent.getContext()
Returns the java script function context of CHART.JS events.
|
Constructor and Description |
---|
ChartClickEvent(ChartEventContext eventContext,
List<DatasetReference> items)
Creates the event with a list of items with dataset references related to the click
|
ChartHoverEvent(ChartEventContext eventContext,
List<DatasetReference> items)
Creates the event with a list of items with dataset references related to the hover
|
ChartResizeEvent(ChartEventContext eventContext,
SizeItem size)
Creates the event with a item with new size of the chart
|
LegendClickEvent(ChartEventContext eventContext,
LegendItem item)
Creates the event with legend item related to the click
|
LegendHoverEvent(ChartEventContext eventContext,
LegendItem item)
Creates the event with legend item related to the hover
|
LegendLeaveEvent(ChartEventContext eventContext,
LegendItem item)
Creates the event with legend item related to the leaving.
|
Modifier and Type | Method and Description |
---|---|
ChartEventContext |
PluginEventArgument.getEventContext()
Returns the event context in the the CHART.JS event.
|