public interface TimeTickCallback
CartesianTimeAxis
,
CartesianTimeSeriesAxis
Modifier and Type | Method and Description |
---|---|
String |
onCallback(Axis axis,
Date value,
String label,
int index,
List<ScaleTickItem> values)
Changes the tick marks to include information about the data type.
|
String onCallback(Axis axis, Date value, String label, int index, List<ScaleTickItem> 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.