Skip to content

Commit 0d9ee07

Browse files
committed
Update CHANGELOG
1 parent c4d32f8 commit 0d9ee07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ Add *plot*.**scale**(*name*). Explanation TK.
88

99
Add support for piecewise (a.k.a. “polylinear”) scales. If a single-argument *interpolate* function is specified (or equivalently a color scheme such as *warm*), and the *range* is undefined, and the *domain* has more than two elements, the range [0, 1] will be partitioned into *domain*.length - 1 same-sized segments. The default scale range for *x* and *y* now supports piecewise scales, as does the default axis tick count.
1010

11-
Add automatic detection of “reversed” scales with descending domains or ranges. Reversed scales are now detected by comparing the natural order of the domain and range, rather than checking the *reverse* option. This affects the default axis label arrow orientation and the behavior of the *zero* option.
11+
Add automatic detection of “reversed” scales with descending domains or ranges. Reversed scales are now detected by comparing the natural order of the domain and range, rather than checking the *reverse* option. This improves the default axis label arrow orientation and the behavior of the *zero* option.
1212

13-
Fix ordinal color schemes to return the correct number of colors when the natural scheme size is not equal to the desired scheme size. Fix the *rainbow* and *sinebow* cyclical color schemes when used with an ordinal color scale; the last color will no longer be equal to the first.
13+
Ordinal color schemes now return the correct number of colors when the natural scheme size is not equal to the desired scheme size. The *rainbow* and *sinebow* cyclical color schemes, when used with an ordinal color scale, no longer duplicate the first color as the last color.
1414

15-
Fix the *interval* option for rect and bar so that it works with the default identity accessor. Also, ignore the *interval* option if the necessary value channel (*e.g.*, *x*) is not defined. For example, you no longer have to define *x* as the identity function here:
15+
The *interval* option for rect and bar now works with the default identity accessor. Also, the *interval* option is now ignored if the necessary value channel (*e.g.*, *x*) is not defined, rather than throwing an error. For example, you no longer have to define *x* as the identity function here:
1616

1717
```js
1818
Plot.barX(d3.utcDays(start, end), {interval: d3.utcDay, fill: d => d})
1919
```
2020

2121
The *percent* and *transform* options are now supported on all scales, including diverging scales.
2222

23-
Fix internal string coercion.
23+
Internal string coercion now uses *object*.toString instead of *object*.valueOf.
2424

2525
## 0.2.4
2626

0 commit comments

Comments
 (0)