highcharts 日付フォーマット一覧
highchartsメモ
datetimeのフォーマットapiリファレンスはこちら
http://api.highcharts.com/highcharts#xAxis.dateTimeLabelFormats
デフォルトが海外表記になっているので、日本に馴染みのある表記(yyyy/mm/dd)みたいに変えようかなと。
%bとか見慣れないのがあったので、どのようなものが用意されているか一覧確認したいなと思っていたらこちらに書いてあったので、メモしておきます。
これでフォーマット色々いじれそうだ
(参考サイト)
How to get highcharts dates in the x axis?
%a: Short weekday, like 'Mon'.
%A: Long weekday, like 'Monday'.
%d: Two digit day of the month, 01 to 31.
%e: Day of the month, 1 through 31.
%b: Short month, like 'Jan'.
%B: Long month, like 'January'.
%m: Two digit month number, 01 through 12.
%y: Two digits year, like 09 for 2009.
%Y: Four digits year, like 2009.
%H: Two digits hours in 24h format, 00 through 23.
%I: Two digits hours in 12h format, 00 through 11.
%l (Lower case L): Hours in 12h format, 1 through 11.
%M: Two digits minutes, 00 through 59.
%p: Upper case AM or PM.
%P: Lower case AM or PM.
%S: Two digits seconds, 00 through 59
datetimeのフォーマットapiリファレンスはこちら
http://api.highcharts.com/highcharts#xAxis.dateTimeLabelFormats
デフォルトが海外表記になっているので、日本に馴染みのある表記(yyyy/mm/dd)みたいに変えようかなと。
%bとか見慣れないのがあったので、どのようなものが用意されているか一覧確認したいなと思っていたらこちらに書いてあったので、メモしておきます。
これでフォーマット色々いじれそうだ
(参考サイト)
How to get highcharts dates in the x axis?
highchats 日付フォーマット dateformat
%a: Short weekday, like 'Mon'.
%A: Long weekday, like 'Monday'.
%d: Two digit day of the month, 01 to 31.
%e: Day of the month, 1 through 31.
%b: Short month, like 'Jan'.
%B: Long month, like 'January'.
%m: Two digit month number, 01 through 12.
%y: Two digits year, like 09 for 2009.
%Y: Four digits year, like 2009.
%H: Two digits hours in 24h format, 00 through 23.
%I: Two digits hours in 12h format, 00 through 11.
%l (Lower case L): Hours in 12h format, 1 through 11.
%M: Two digits minutes, 00 through 59.
%p: Upper case AM or PM.
%P: Lower case AM or PM.
%S: Two digits seconds, 00 through 59
trackback