Uses of Class
org.pepstock.charba.client.items.TooltipItem
-
Packages that use TooltipItem Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.callbacks All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.org.pepstock.charba.client.data Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).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 TooltipItem in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type TooltipItem Modifier and Type Method Description List<String>Defaults. invokeTooltipsCallbackOnLabel(IsChart chart, TooltipItem item)Returns the default text to render for an individual item in the tooltip.TooltipLabelColorDefaults. invokeTooltipsCallbackOnLabelColor(IsChart chart, TooltipItem item)Returns the default colors to render for the tooltip item.TooltipLabelPointStyleDefaults. invokeTooltipsCallbackOnLabelPointStyle(IsChart chart, TooltipItem item)Returns the default point style to render for the tooltip item.Method parameters in org.pepstock.charba.client with type arguments of type TooltipItem Modifier and Type Method Description List<String>Defaults. invokeTooltipsCallbackOnTitle(IsChart chart, List<TooltipItem> items)Returns the default text to render as the title of the tooltip. -
Uses of TooltipItem in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return types with arguments of type TooltipItem Modifier and Type Method Description List<TooltipItem>TooltipContext. getItems()Returns the model of tooltip.Methods in org.pepstock.charba.client.callbacks with parameters of type TooltipItem Modifier and Type Method Description default List<String>TooltipLabelCallback. onAfterLabel(IsChart chart, TooltipItem item)Returns text to render after an individual label.
If returnsnullor empty list, it will be ignored.default List<String>TooltipLabelCallback. onBeforeLabel(IsChart chart, TooltipItem item)Returns text to render before an individual label.
This will be called for each item in the tooltip.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipLabelCallback. onLabel(IsChart chart, TooltipItem item)default List<String>TooltipLabelCallback. onLabel(IsChart chart, TooltipItem item)Returns text to render for an individual item in the tooltip.
If returnsnullor empty list, it will be ignored.TooltipLabelColorAbstractTooltipLabelCallback. onLabelColor(IsChart chart, TooltipItem item)default TooltipLabelColorTooltipLabelCallback. onLabelColor(IsChart chart, TooltipItem item)Returns the colors and borders to render for the tooltip item.
If returnsnull, it will be ignored.default TooltipLabelPointStyleTooltipLabelCallback. onLabelPointStyle(IsChart chart, TooltipItem item)Returns the point style to use instead of color boxes ifusePointStyleis true.
Default implementation uses the point style from the data set points.IsColorAbstractTooltipLabelCallback. onLabelTextColor(IsChart chart, TooltipItem item)default IsColorTooltipLabelCallback. onLabelTextColor(IsChart chart, TooltipItem item)Returns the colors for the text of the label for the tooltip item.
If returnsnull, it will be ignored.Method parameters in org.pepstock.charba.client.callbacks with type arguments of type TooltipItem Modifier and Type Method Description List<String>AbstractTooltipBodyCallback. onAfterBody(IsChart chart, List<TooltipItem> items)default List<String>TooltipBodyCallback. onAfterBody(IsChart chart, List<TooltipItem> items)Returns text to render after the body section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipFooterCallback. onAfterFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onAfterFooter(IsChart chart, List<TooltipItem> items)Text to render after the footer section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipTitleCallback. onAfterTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onAfterTitle(IsChart chart, List<TooltipItem> items)Returns text to render after the title.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipBodyCallback. onBeforeBody(IsChart chart, List<TooltipItem> items)default List<String>TooltipBodyCallback. onBeforeBody(IsChart chart, List<TooltipItem> items)Returns text to render before the body section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipFooterCallback. onBeforeFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onBeforeFooter(IsChart chart, List<TooltipItem> items)Returns text to render before the footer section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipTitleCallback. onBeforeTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onBeforeTitle(IsChart chart, List<TooltipItem> items)Returns the text to render before the title.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipFooterCallback. onFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onFooter(IsChart chart, List<TooltipItem> items)Returns text to render as the footer of the tooltip.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipTitleCallback. onTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onTitle(IsChart chart, List<TooltipItem> items)Returns text to render as the title of the tooltip.
If returnsnullor empty list, it will be ignored. -
Uses of TooltipItem in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data with parameters of type TooltipItem Modifier and Type Method Description DatasetData. retrieveDataset(TooltipItem tooltipItem)Returns a data set instance by tooltip item locator, data set index and index. -
Uses of TooltipItem in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return TooltipItem Modifier and Type Method Description TooltipItemTooltipItem.TooltipItemFactory. create(NativeObject nativeObject)Methods in org.pepstock.charba.client.items that return types with arguments of type TooltipItem Modifier and Type Method Description List<TooltipItem>TooltipModel. getDataPoints()Returns the list of tooltip items related to data points.Methods in org.pepstock.charba.client.items with parameters of type TooltipItem Modifier and Type Method Description voidTooltipLabelColor. setBackgroundColor(TooltipItem tooltipItem, Gradient gradient)Sets the background color of the tooltip item as gradient.voidTooltipLabelColor. setBackgroundColor(TooltipItem tooltipItem, Pattern pattern)Sets the background color of the tooltip item as patternvoidTooltipLabelColor. setBorderColor(TooltipItem tooltipItem, Gradient gradient)Sets the border color of the tooltip item as gradient.
-