You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
*Not yet released. These are forthcoming changes in the main branch.*
6
6
7
-
The [area](./README.md#area) and [line marks](./README.md#line) now support varying fill, stroke, title, and other aesthetics within series. For example, this chart of unemployment rates by metro area highlights increases in red and decreases in blue using a window transform.
7
+
The [area](./README.md#area) and [line marks](./README.md#line) now support varying fill, stroke, title, and other channels within series. For example, this chart of unemployment rates by metro area highlights increases in red and decreases in blue using a window transform with the *difference* reducer.
8
8
9
9
<imgsrc="./img/line-slope.png"width="640"alt="a line chart of unemployment rates by metro area; increases are shown in red, and decreases in blue">
10
10
@@ -20,7 +20,7 @@ The new *clip* mark option enables clipping to the plot frame. For example, this
Plot can now generate helpful warnings for common mistakes. Warnings are indicated by a warning sign ⚠️ in the top-right corner of the plot; open your browser’s developer console to read the warnings. For example, if you forget to parse strings to dates, resulting in an *ordinal* scale rather than the desired *utc* scale, Plot will advise on how to fix the scale definition.
23
+
Plot can now generate helpful warnings for common mistakes. Warnings are indicated ⚠️ in the top-right corner of the plot; open your browser’s developer console to read the warnings. For example, if you forget to parse strings to dates resulting in an *ordinal* scale rather than the desired *utc* scale, Plot will advise on how to fix the scale definition.
24
24
25
25
<imgsrc="./img/warning.png"width="640"alt="a horizon chart of unemployment rates by metro area; increases are shown in red, and decreases in blue">
26
26
@@ -32,7 +32,7 @@ Plot.line(aapl, {x: "Date", y: "Close"}) // 🌶 Oops, Date is a string!
32
32
33
33
We will add [more warnings](https://github.com/observablehq/plot/issues/755) in the future. If Plot did something you didn’t expect, please [let us know](https://github.com/observablehq/plot/discussions); perhaps it will inspire a new warning that will help other users.
34
34
35
-
The [text mark](./README.md#text) now supports automatic wrapping! The new **lineWidth** option specifies the desired length of a line in ems. The line breaking, wrapping, and text metrics implementations are all rudimentary, but they should be acceptable for text that is mostly ASCII. (For more control, you can hard-wrap text manually.) The **monospace** option now provides convenient defaults for monospaced text.
35
+
The [text mark](./README.md#text) now supports automatic wrapping for easier annotation. The new **lineWidth** option specifies the desired length of a line in ems. The line breaking, wrapping, and text metrics implementations are all rudimentary, but they should be acceptable for text that is mostly ASCII. (For more control, you can hard-wrap text manually.) The **monospace** option now provides convenient defaults for monospaced text.
36
36
37
37
<imgsrc="./img/wrap.png"width="640"alt="a snippet of Moby Dick, demonstrating Plot’s line wrapping implementation">
0 commit comments