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.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.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(BaseNativeEvent 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(BaseNativeEvent 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.Methods in org.pepstock.charba.client that return types with arguments of type DatasetReference Modifier and Type Method Description List<DatasetReference>
AbstractChart. getDatasetAtEvent(BaseNativeEvent event)
Looks for the data sets that matches the event and returns the data set items references as a list.List<DatasetReference>
IsChart. getDatasetAtEvent(BaseNativeEvent event)
Looks for the dataset that matches the event.List<DatasetReference>
AbstractChart. getElementsAtEvent(BaseNativeEvent 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(BaseNativeEvent 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. -
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(BaseNativeEvent nativeEvent, IsChart chart, DatasetReference item)
Creates the event with dataset reference item related to the click and the chart instanceDatasetSelectionEvent(BaseNativeEvent 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(BaseNativeEvent event)
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(BaseNativeEvent event)
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(BaseNativeEvent event)
-
Uses of DatasetReference in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return DatasetReference Modifier and Type Method Description DatasetReference
DatasetReference.DatasetReferenceItemFactory. create(NativeObject nativeObject)
-
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.
-