From c0900a1dacf7af39c80a8c79cacb4c10f0746772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20C=C3=B4t=C3=A9?= Date: Tue, 11 Dec 2012 23:24:56 -0800 Subject: [PATCH] Updated API.md for %q time-series tick-label option. --- API.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index 7273ae7..84bf209 100644 --- a/API.md +++ b/API.md @@ -582,10 +582,10 @@ xaxis: { mode: "time" timeformat: "%Y/%m/%d" } -``` +``` -This will result in tick labels like "2000/12/24". A subset of the -standard strftime specifiers are supported: +This will result in tick labels like "2000/12/24". A subset of the +standard strftime specifiers are supported (plus the nonstandard %q): ```js %a: weekday name (customizable) @@ -596,6 +596,7 @@ standard strftime specifiers are supported: %I: hours, 12-hour time, zero-padded (01-12) %m: month, zero-padded (01-12) %M: minutes, zero-padded (00-59) +%q: quarter (1-4) %S: seconds, zero-padded (00-59) %y: year (two digits) %Y: year (four digits)