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(ControllerContext context,
IsChart chart,
int index)
Create a single element for the data at the given index and reset its state.
|
void |
Controller.addElements(ControllerContext context,
IsChart chart)
Create elements for each piece of data in the dataset.
|
void |
Controller.draw(ControllerContext context,
IsChart chart,
double ease)
Draw the representation of the dataset.
|
void |
Controller.initialize(ControllerContext context,
IsChart chart,
int datasetIndex)
Initializes the controller.
|
static boolean |
Controller.isConsistent(Controller controller,
ControllerContext context,
IsChart chart)
Returns
true if all arguments are consistent. |
void |
Controller.removeHoverStyle(ControllerContext context,
IsChart chart,
StyleElement element)
Remove hover styling from the given element.
|
void |
Controller.setHoverStyle(ControllerContext context,
IsChart chart,
StyleElement element)
Add hover styling to the given element.
|
void |
Controller.update(ControllerContext context,
IsChart chart,
boolean reset)
Update the elements in response to new data.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractController.addElementAndReset(ControllerContext context,
IsChart chart,
int index) |
void |
AbstractController.addElements(ControllerContext context,
IsChart chart) |
void |
AbstractController.draw(ControllerContext context,
IsChart chart,
double ease) |
void |
AbstractController.initialize(ControllerContext context,
IsChart chart,
int datasetIndex) |
void |
AbstractController.removeHoverStyle(ControllerContext context,
IsChart chart,
StyleElement element) |
void |
AbstractController.setHoverStyle(ControllerContext context,
IsChart chart,
StyleElement element) |
void |
AbstractController.update(ControllerContext context,
IsChart chart,
boolean reset) |