| 
2 | 2 | 
 
  | 
3 | 3 | Year: **Current (2023)** · [2022](./CHANGELOG-2022.md) · [2021](./CHANGELOG-2021.md)  | 
4 | 4 | 
 
  | 
 | 5 | +## 0.6.11  | 
 | 6 | + | 
 | 7 | +[Released September 20, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.11)  | 
 | 8 | + | 
 | 9 | +The **tip** mark option can now pass options to the derived [tip mark](https://observablehq.com/plot/marks/tip); the options object can also specify the **pointer** option to control the derived tip’s pointer mode (_x_, _y_, or _xy_). The new **format** tip mark option enables greater control over order and formatting of channels.  | 
 | 10 | + | 
 | 11 | +<img src="./img/tip-custom.png" width="674" alt="A tip with a custom order and formatting of the channel values.">  | 
 | 12 | + | 
 | 13 | +```js  | 
 | 14 | +Plot.dot(olympians, {  | 
 | 15 | +  x: "weight",  | 
 | 16 | +  y: "height",  | 
 | 17 | +  stroke: "sex",  | 
 | 18 | +  channels: {  | 
 | 19 | +    name: "name",  | 
 | 20 | +    nationality: "nationality",  | 
 | 21 | +    sport: "sport"  | 
 | 22 | +  },  | 
 | 23 | +  tip: {  | 
 | 24 | +    format: {  | 
 | 25 | +      name: true, // show name first  | 
 | 26 | +      y: (d) => `${d}m`, // units in meters  | 
 | 27 | +      x: (d) => `${d}kg`, // units in kilograms  | 
 | 28 | +      stroke: false // suppress stroke channel  | 
 | 29 | +    }  | 
 | 30 | +  }  | 
 | 31 | +}).plot()  | 
 | 32 | +```  | 
 | 33 | + | 
 | 34 | +Axes for ordinal scales now generalize the scale’s temporal or quantitative **interval** if any, resulting in more readable ticks. For instance, the bar chart below of monthly values now sports multi-line tick labels.  | 
 | 35 | + | 
 | 36 | +<img src="./img/temporal-ordinal.png" width="672" alt="A temporal bar chart with a multi-line axis.">  | 
 | 37 | + | 
 | 38 | +```js  | 
 | 39 | +Plot.plot({  | 
 | 40 | +  x: {interval: "month"},  | 
 | 41 | +  marks: [  | 
 | 42 | +    Plot.barY(aapl, Plot.groupX({y: "median"}, {x: "Date", y: "Close"}))  | 
 | 43 | +  ]  | 
 | 44 | +})  | 
 | 45 | +```  | 
 | 46 | + | 
 | 47 | +Plot now recognizes CSS Color Module [Level 4](https://www.w3.org/TR/css-color-4/) and [Level 5](https://www.w3.org/TR/css-color-5/) syntax as literal colors, making it easier to use modern color syntax such as [oklab()](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklab), [color-mix()](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix), and alternative color spaces such as [display-p3](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color).  | 
 | 48 | + | 
 | 49 | +A channel value can now be given a label by specifying it as a {value, label} object; this may affect the label used in axes, legends, and tips.  | 
 | 50 | + | 
 | 51 | +This release also includes numerous bug fixes:  | 
 | 52 | +- exposed ordinal domains are now correctly deduplicated;  | 
 | 53 | +- the default symbol set is now inferred correctly when **fill** is *currentColor*;  | 
 | 54 | +- the **fontVariant** axis option now applies to the axis label in addition to ticks;  | 
 | 55 | +- the tip mark is no longer briefly visible before asynchronous rendering;  | 
 | 56 | +- the bin transform no longer generates undefined colors for empty bins;  | 
 | 57 | +- the bin transform now uses the **interval** option to reduce *x1* & *x2* (and *y1* & *y2*);  | 
 | 58 | +- the stack transform now correctly handles the *exclude* **facet** option;  | 
 | 59 | +- the tree transform now correctly handles escaping with the **delimiter** option.  | 
 | 60 | + | 
5 | 61 | ## 0.6.10  | 
6 | 62 | 
 
  | 
7 | 63 | [Released August 14, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.10)  | 
 | 
0 commit comments