Interface DisplayCallback<C extends ChartContext>
- 
- All Superinterfaces:
- Scriptable<Object,C>
 
 public interface DisplayCallback<C extends ChartContext> extends Scriptable<Object,C> Callback interface to setdisplayproperty where it can be set byDisplayor a boolean.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryStatic Methods Modifier and Type Method Description static ObjectcheckAndGet(Object result, Display defaultValue)Checks the result of this callback returning the right value to set in the options.- 
Methods inherited from interface org.pepstock.charba.client.callbacks.Scriptableinvoke
 
- 
 
- 
- 
- 
Method Detail- 
checkAndGetstatic Object checkAndGet(Object result, Display defaultValue) Checks the result of this callback returning the right value to set in the options.- Parameters:
- result- result of callback invocation
- defaultValue- default value to use if the result is not consistent
- Returns:
- the right value to set in the options
 
 
- 
 
-