简体   繁体   中英

D3 Javascript library and time functions

I used the D3 library ver < 4.4.4 for quite a long time and now I moved to the latest one (4.4.4).

I used to call this function:

d3.time.format()

looks like the .time object doesn't exist anymore, what's the 4.4.4 equivalent?

EDIT

I noticed they now use d3_time , is that another library I need to use?

d3.time.format is now d3.timeFormat .

This, and other time functions, have been changed. See this link .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM