public interface TimeTickCallback
CartesianTimeAxis| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
onCallback(Axis axis,
java.util.Date value,
java.lang.String label,
int index,
java.util.List<TimeTickItem> values)
Changes the tick marks to include information about the data type.
|
java.lang.String onCallback(Axis axis, java.util.Date value, java.lang.String label, int index, java.util.List<TimeTickItem> values)
axis - axis instance where this callback as been definedvalue - value of tick as datelabel - label of tick, passed by CHART.JS formatting the date by the selected TimeUnit and its display
format.index - index of tickvalues - list of all tick valuesnull the associated grid line will be hidden.