From 20836be1e0aa07123f2b24225dd2f2c82580b23b Mon Sep 17 00:00:00 2001 From: Akihiko Kusanagi Date: Sat, 23 Mar 2019 13:21:13 +0800 Subject: [PATCH] Add description on tick label callback parameter --- docs/axes/labelling.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/axes/labelling.md b/docs/axes/labelling.md index 8f39235640f..96c5eae3784 100644 --- a/docs/axes/labelling.md +++ b/docs/axes/labelling.md @@ -42,3 +42,5 @@ var chart = new Chart(ctx, { } }); ``` + +The third parameter passed to the callback function is an array of labels, but in the time scale, it is an array of `{label: string, major: boolean}` objects.