Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
ValueCallback |
LineAnnotation.getEndValueCallback()
Returns the callback called to set the data value at which the line draw should end.
|
ValueCallback |
LineAnnotation.getValueCallback()
Returns the callback called to set the left edge of the box, in units along the x axis.
|
ValueCallback |
PointAnnotation.getXValueCallback()
Returns the callback called to set the data X value to draw the line at.
|
ValueCallback |
PointAnnotation.getYValueCallback()
Returns the callback called to set the data Y value to draw the line at.
|
Modifier and Type | Method and Description |
---|---|
void |
LineAnnotation.setEndValue(ValueCallback valueCallback)
Sets the callback to set the data value at which the line draw should end.
|
void |
LineAnnotation.setValue(ValueCallback valueCallback)
Sets the callback to set the left edge of the box, in units along the x axis.
|
void |
PointAnnotation.setXValue(ValueCallback valueCallback)
Sets the callback to set the data X value to draw the line at.
|
void |
PointAnnotation.setYValue(ValueCallback valueCallback)
Sets the callback to set the data Y value to draw the line at.
|