Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 09:12
· 2 commits to master since this release
3372c9d

2.1.0 (2026-11-21)

Features

  • axisOptions.xOffset 0 to draw line [secure] edge to edge (b1c2223)
  • colors on a bar dataset to colour each bar (16305df)
  • hide x grid lines whose labels are skipped for space (0ab0bdc)
  • keep the chart background colour in exported SVGs (a58578d)
  • lineOptions.spanGaps to connect a line across null values (4fc0e92)
  • lineOptions.stepped for stepped line [secure] (d693a0d)
  • locale and legendLabels options for heatmap text (27f5de9)
  • measures option to set chart margins and paddings (a21ba3b)
  • onClick for pie chart slices and legend items (9de1424)
  • xRegions to shade a range of x labels on axis [secure] (3d7325f)

Bug Fixes

  • allow barOptions.spaceRatio 0 for touching bars (5749ac6)
  • apply the y axis number formatter without shortenYAxisNumbers (99893dc)
  • avoid NaN sizes for [secure] built on a detached element (063677d)
  • avoid negative and NaN shapes in very narrow percentage and donut [secure] (15499a5)
  • draw every heatmap day in time zones other than UTC (c2a9394)
  • draw the real data first when the entry animation is off (330576d)
  • fit the y axis to line data that sits in a narrow band (a1be59f)
  • insert the ES module build's styles first so page CSS can override them (161e9ea)
  • keep the chart title size when the page styles a .title class (79d3e3b)
  • lay out [secure] left to right on rtl pages (dcf9af5)
  • make isNavigable [secure] select points on click and tap (17b42b1)
  • place the heatmap legend squares after the first legend word (98ed7c5)
  • read the base y axis gutter after the chart's measures are final (8af9d3d)
  • redraw axis [secure] when update changes the datasets (b165d53)
  • refresh pie and percentage legends on update and support add/removeDataPoint (5358c9a)
  • render [secure] built with empty or missing data (4a364cf)
  • repeat the colour palette when a chart has more series than colours (9355575)
  • set chart colours without inline style attributes for CSP pages (1224f16)
  • show labels and values in tooltips as plain text (e862b06)
  • show only the total over stacked bars with valuesOverPoints (5ffd018)
  • show valuesOverPoints on line [secure] without dots (9e1d2b6)
  • skip x labels instead of showing dots when there is no room (fcd6d0b)
  • stack negative values below zero in stacked bar [secure] (661d18f)
  • start heatmap weeks on Monday with startSubDomain (9ee39e9)
  • start the y axis at zero when a chart has bars (caea374)
  • use formatTooltipY in pie and percentage tooltips (e8fe515)
  • widen the y axis gutter so long labels are not cut off (8688dec)
  • wrap legends into rows and grow the chart to fit them (d14bc68)