Uses of Class
org.pepstock.charba.client.items.DatasetReference
-
Packages that use DatasetReference Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.org.pepstock.charba.client.positioner Contains all classes to implement a custom tooltip positioner for CHART.JS. -
-
Uses of DatasetReference in org.pepstock.charba.client
Methods in org.pepstock.charba.client that return DatasetReference Modifier and Type Method Description DatasetReference
AbstractChart. getElementAtEvent(NativeBaseEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.DatasetReference
AbstractChart. getElementAtEvent(NativeBaseEvent event, InteractionOptions interaction)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.DatasetReference
IsChart. getElementAtEvent(NativeBaseEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.DatasetReference
IsChart. getElementAtEvent(NativeBaseEvent event, InteractionOptions interaction)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.Methods in org.pepstock.charba.client that return types with arguments of type DatasetReference Modifier and Type Method Description List<DatasetReference>
AbstractChart. getDatasetAtEvent(NativeBaseEvent event)
Looks for the data sets that matches the event and returns the data set items references as a list.List<DatasetReference>
IsChart. getDatasetAtEvent(NativeBaseEvent event)
Looks for the dataset that matches the event.NativeObjectContainerFactory<DatasetReference>
AbstractChart. getDatasetReferenceFactory()
Returns the factory to createDatasetReference
when required, based on the data element type of the chart.NativeObjectContainerFactory<DatasetReference>
IsChart. getDatasetReferenceFactory()
Returns the factory to createDatasetReference
when required, based on the data element type of the chart.List<DatasetReference>
AbstractChart. getElementsAtEvent(NativeBaseEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event.List<DatasetReference>
AbstractChart. getElementsAtEvent(NativeBaseEvent event, InteractionOptions interaction)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event.List<DatasetReference>
IsChart. getElementsAtEvent(NativeBaseEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event.List<DatasetReference>
IsChart. getElementsAtEvent(NativeBaseEvent event, InteractionOptions interaction)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event. -
Uses of DatasetReference in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return DatasetReference Modifier and Type Method Description DatasetReference
DatasetSelectionEvent. getItem()
Returns the item with dataset metadata related to the clickMethods in org.pepstock.charba.client.events that return types with arguments of type DatasetReference Modifier and Type Method Description List<DatasetReference>
IsChartEvent. getItems()
Returns a list of items with dataset references related to the event.Constructors in org.pepstock.charba.client.events with parameters of type DatasetReference Constructor Description DatasetSelectionEvent(NativeBaseEvent nativeEvent, IsChart chart, DatasetReference item)
Creates the event with dataset reference item related to the click and the chart instanceDatasetSelectionEvent(NativeBaseEvent nativeEvent, DatasetReference item)
Creates the event with dataset reference item related to the clickConstructor parameters in org.pepstock.charba.client.events with type arguments of type DatasetReference 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 hover -
Uses of DatasetReference in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets that return DatasetReference Modifier and Type Method Description DatasetReference
AbstractChartWidget. getElementAtEvent(NativeBaseEvent event)
DatasetReference
AbstractChartWidget. getElementAtEvent(NativeBaseEvent event, InteractionOptions interaction)
Methods in org.pepstock.charba.client.gwt.widgets that return types with arguments of type DatasetReference Modifier and Type Method Description List<DatasetReference>
AbstractChartWidget. getDatasetAtEvent(NativeBaseEvent event)
NativeObjectContainerFactory<DatasetReference>
AbstractChartWidget. getDatasetReferenceFactory()
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(NativeBaseEvent event)
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(NativeBaseEvent event, InteractionOptions interaction)
-
Uses of DatasetReference in org.pepstock.charba.client.positioner
Method parameters in org.pepstock.charba.client.positioner with type arguments of type DatasetReference Modifier and Type Method Description Point
TooltipPositioner. computePosition(IsChart chart, List<DatasetReference> items, Point eventPoint)
Applies own logic to returns the point where the tooltip must be showed.Point
Positioner. invokePositioner(IsTooltipPosition position, IsChart chart, List<DatasetReference> items, Point eventPoint)
Invokes an existing positioner to get the point.
-