| 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.plugins | Contains all classes to manage the plugin implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Chart | Charts. getNative(IsChart chart)Returns the CHART.JS chart instance by chart instance. | 
| static Chart | Charts. getNative(String chartId)Returns the CHART.JS chart instance by id. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<LegendLabelItem> | Defaults. generateLabels(Chart chart)Returns an unmodifiable list of legend labels for that chart with the callback provided by CHART.JS out of the box. | 
| void | Plugin. onAfterInit(IsChart chart,
           Chart nativeChart)Called after 'chart' has been initialized and before the first update. | 
| Constructor and Description | 
|---|
| ChartNode(Chart chart)Creates the object wrapping a CHART instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Chart | IsCommonChartEvent. getContext()Returns the java script function context of CHART.JS events. | 
| Constructor and Description | 
|---|
| ChartClickEvent(NativeEvent nativeEvent,
               Chart functionContext,
               List<DatasetItem> items)Creates the event with a list of items with dataset metadata related to the click | 
| ChartHoverEvent(NativeEvent nativeEvent,
               Chart functionContext,
               List<DatasetItem> items)Creates the event with a list of items with dataset metadata related to the hover | 
| ChartResizeEvent(NativeEvent nativeEvent,
                Chart functionContext,
                SizeItem size)Creates the event with a item with new size of the chart | 
| LegendClickEvent(NativeEvent nativeEvent,
                Chart functionContext,
                LegendItem item)Creates the event with legend item related to the click | 
| LegendHoverEvent(NativeEvent nativeEvent,
                Chart functionContext,
                LegendItem item)Creates the event with legend item related to the hover | 
| LegendLeaveEvent(NativeEvent nativeEvent,
                Chart functionContext,
                LegendItem item)Creates the event with legend item related to the leaving. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractPlugin. onAfterInit(IsChart chart,
           Chart nativeChart) |