Uses of Class
org.pepstock.charba.client.items.LegendItem
-
Packages that use LegendItem Package Description 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.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. -
-
Uses of LegendItem in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data with parameters of type LegendItem Modifier and Type Method Description Dataset
Data. retrieveDataset(LegendItem legendItem)
Returns a data set instance by legend item locator, data set index and index.Gradient
Data. retrieveFillStyleAsGradient(LegendItem legendItem)
Returns a gradient object set as background color for a data set related to legend item.Pattern
Data. retrieveFillStyleAsPattern(LegendItem legendItem)
Returns a pattern object set as background color for a data set related to legend item.Gradient
Data. retrieveStrokeStyleAsGradient(LegendItem legendItem)
Returns a gradient object set as border color for a data set related to legend item.Pattern
Data. retrieveStrokeStyleAsPattern(LegendItem legendItem)
Returns a pattern object set as border color for a data set related to legend item. -
Uses of LegendItem in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return LegendItem Modifier and Type Method Description LegendItem
IsLegendEvent. getItem()
Returns the legend item related to the event.Constructors in org.pepstock.charba.client.events with parameters of type LegendItem Constructor Description LegendClickEvent(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 LegendItem in org.pepstock.charba.client.items
Subclasses of LegendItem in org.pepstock.charba.client.items Modifier and Type Class Description class
LegendLabelItem
This object is created by callbacks and returned to CHART.JS as native object to configure the legend.Methods in org.pepstock.charba.client.items that return LegendItem Modifier and Type Method Description LegendItem
LegendItem.LegendItemFactory. create(NativeObject nativeObject)
Methods in org.pepstock.charba.client.items that return types with arguments of type LegendItem Modifier and Type Method Description List<LegendItem>
LegendNode. getItems()
Returns the list of items of the legend.Constructor parameters in org.pepstock.charba.client.items with type arguments of type LegendItem Constructor Description LegendItem(ChartEnvelop<LegendItem> envelop)
Creates the item using another legend item (passed by envelop) which contains all properties.
-