Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MUR Drupal
d3-library
Commits
76de6543
Commit
76de6543
authored
Jun 13, 2016
by
Mike Bostock
Browse files
Update CHANGES.
parent
35a754c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
CHANGES.md
CHANGES.md
+20
-8
No files found.
CHANGES.md
View file @
76de6543
...
...
@@ -209,19 +209,31 @@ The [*nest*.map](https://github.com/d3/d3-collection#nest_map) method now always
TODO
Opacity
*
all colors now have opacity
*
can now parse rgba(…) and hsla(…) CSS color strings
*
more robust parsing; for example, you can no longer mix integers and percentages in rgb(…), trims
*
can now parse rgba(…) and hsla(…) CSS color strings, and "transparent"
*
*color*
.toString now returns rgb(…) or rgba(…), not hexadecimal; matches computed CSS value, improving performance
*
affects transitions: e.g., can interpolate from default transparent background color
More robust parsing
*
d3.color(…) now returns a color instance in the appropriate color space, or null! (matches getComputedStyle)
*
*color*
.toString now returns rgb(…) or rgba(…), not hexadecimal
*
more robust parsing; for example, you can no longer mix integers and percentages in rgb(…), trims
*
the color space constructors, such as d3.rgb, now always return a copy
*
removed
*rgb*
.hsl; use d3.hsl(
*rgb*
) instead; there’s still
*color*
.rgb, though
More information, better interpolation
*
explicitly track which channels are undefined, e.g., black has undefined saturation, transparent
*
related improvements in color interpolation!
*
d3.rgb now lazily quantizes channel values, improving accuracy in color space conversion
*
*rgb*
.brighter no longer special-cases black
*
the color space constructors, such as d3.rgb, now always return a copy
*
removed
*rgb*
.hsl
*
related improvements in color interpolation!
*
add
*color*
.displayable
*
d3.cubehelix is now built-in
Other changes
*
*rgb*
.brighter no longer special-cases black
*
new d3.cubehelix color space!
*
you can define your own color spaces; see
[
d3-hsv
](
https://github.com/d3/d3-hsv
)
for example
## [Dispatches (d3-dispatch)](https://github.com/d3/d3-dispatch/blob/master/README.md)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment