The way ticks are produced in chartjs can require a function that determine when and where they are drawn. This function is a simple callback to produce ticks at given intervals (step).

ticks_integer_callback(step = 1)

Arguments

step

the step value to compare the callback value to determine if a line shoule be drawn

Value

a value with a JS_EVAL attribute