Skip to content

Commit e5d938e

Browse files
committed
Update CHANGELOG
1 parent bc31387 commit e5d938e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Observable Plot - Changelog
22

3+
## 0.2.5
4+
5+
*Not yet released.* These notes are a work in progress.
6+
7+
Add *plot*.**scale**(*name*). Explanation TK.
8+
9+
Add support for piecewise (“polylinear”) scales. If a single-argument *interpolate* function is specified, 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.
10+
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.
12+
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.
14+
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:
16+
17+
```js
18+
Plot.barX(d3.utcDays(start, end), {interval: d3.utcDay, fill: d => d})
19+
```
20+
21+
The *percent* and *transform* options are now supported on all scales, including diverging scales.
22+
23+
Fix internal string coercion.
24+
325
## 0.2.4
426

527
Released September 24, 2021.

0 commit comments

Comments
 (0)