2016-6-29 22:20| 发布者: joejoe0332| 查看: 706| 评论: 0|原作者: oschina|来自: oschina
D3.js 4.0.0 发布,更新如下:
Colors now have opacity (rgba, hsla, etc.).
New Cubehelix color space.
New sequential color scales, including Viridis and cyclical Rainbow.
New point and band scales replace ordinal.rangeBands and ordinal.rangePoints.
New basis spline interpolators (e.g., continuous ColorBrewer schemes).
Shapes (e.g., lines, areas, arcs) can now render to Canvas.
Fixed cardinal and monotone splines.
Added parameterized Catmull–Rom and natural splines.
New deterministic, extensible velocity Verlet force layout.
New circle-packing layout!
New extensible treemap layout; improved squarified treemaps; added binary treemaps.
New d3.stratify for tabular hierarchical data.
New faster, mutable, non-recursive quadtrees.
Voronoi diagrams now expose topological information.
Selections and transitions are now immutable, providing a cleaner interface.
New selection.raise, selection.lower and selection.dispatch methods.
Time is now frozen in the background, avoiding unintended effort.
Timers can now be stopped externally.
Transitions can now interpolate CSS transforms (in addition to SVG transforms).
You can now cancel transitions using selection.interrupt.
Easier transition chaining thanks to new d3.active and changed transition.delay.
Better performance for homogenous transitions (e.g., shared interpolators across elements).
Better state persistence and enforcement for transitions.
Fixed elastic and bounce easing.
Better default axis appearance.
Better brush interaction.
Built-in asynchronous queue for loading files in parallel.
New low-level d3.ticks API.
下载地址:
d3.zip
Source code (zip)
Source code (tar.gz)
: 看着牙疼!
关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号 )