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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
LegendItem |
IsLegendEvent.getItem()
Returns the legend item related to the event.
|
Constructor and Description |
---|
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 | Class and Description |
---|---|
class |
LegendLabelItem
This object is created by callbacks and returned to CHART.JS as native object to configure the legend.
|
Modifier and Type | Method and Description |
---|---|
LegendItem |
LegendItem.LegendItemFactory.create(NativeObject nativeObject) |
Modifier and Type | Method and Description |
---|---|
List<LegendItem> |
LegendNode.getItems()
Returns the list of items of the legend.
|
Constructor and Description |
---|
LegendItem(ChartEnvelop<LegendItem> envelop)
Creates the item using another legend item (passed by envelop) which contains all properties.
|