| Package | Description | 
|---|---|
| org.pepstock.charba.client | 
 Main package with all charts implementation, global classes and common interfaces. 
 | 
| org.pepstock.charba.client.commons | 
 Core classes to manage the inter-operations with java script code. 
 | 
| org.pepstock.charba.client.events | 
 Contains all events to interact with chart instance. 
 | 
| 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. 
 | 
default void | 
Plugin.onAfterInit(IsChart chart,
           Chart nativeChart)
Called after 'chart' has been initialized and before the first update. 
 | 
| Constructor and Description | 
|---|
ChartNode(String chartId,
         Chart chart)
Creates the object wrapping a CHART instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Chart | 
ArrayChart.get(int index)
Gets the value at a given index. 
 | 
protected Chart | 
NativeObjectContainer.getNativeChart(Key key)
Returns a value (chart) in the embedded JavaScript object at specific property. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
NativeObjectContainer.setValue(Key key,
        Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property. 
 | 
protected void | 
PropertyHandler.setValueAndAddToParent(Key key,
                      Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property. 
 | 
protected void | 
AbstractNode.setValueAndAddToParent(Key key,
                      Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Chart | 
ChartEventContext.getNativeChart()
Returns the CHARBA chart instance. 
 | 
| Constructor and Description | 
|---|
ChartEventContext(Chart chart)
Creates the object with the chart instance, creating a change native event. 
 | 
ChartEventContext(Chart chart,
                 BaseNativeEvent event)
Creates the object with the chart instance, creating a change native event. 
 |