Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.controllers |
Contains all classes to manage the implementations of controllers.
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.addElementAndReset(Context context,
AbstractChart<?,?> chart,
int index)
Create a single element for the data at the given index and reset its state.
|
void |
Controller.addElements(Context context,
AbstractChart<?,?> chart)
Create elements for each piece of data in the dataset.
|
void |
Controller.draw(Context context,
AbstractChart<?,?> chart,
double ease)
Draw the representation of the dataset.
|
void |
Controller.initialize(Context context,
AbstractChart<?,?> chart,
int datasetIndex)
Initializes the controller.
|
void |
Controller.removeHoverStyle(Context context,
AbstractChart<?,?> chart,
StyleElement element)
Remove hover styling from the given element.
|
void |
Controller.setHoverStyle(Context context,
AbstractChart<?,?> chart,
StyleElement element)
Add hover styling to the given element.
|
void |
Controller.update(Context context,
AbstractChart<?,?> chart,
boolean reset)
Update the elements in response to new data.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractController.addElementAndReset(Context context,
AbstractChart<?,?> chart,
int index) |
void |
AbstractController.addElements(Context context,
AbstractChart<?,?> chart) |
void |
AbstractController.draw(Context context,
AbstractChart<?,?> chart,
double ease) |
void |
AbstractController.initialize(Context context,
AbstractChart<?,?> chart,
int datasetIndex) |
void |
AbstractController.removeHoverStyle(Context context,
AbstractChart<?,?> chart,
StyleElement element) |
void |
AbstractController.setHoverStyle(Context context,
AbstractChart<?,?> chart,
StyleElement element) |
void |
AbstractController.update(Context context,
AbstractChart<?,?> chart,
boolean reset) |