github naver/billboard.js 2.0.0

latest releases: 3.14.1, 3.14.0, 3.14.0-next.4...
4 years ago

2.0.0 (2020-07-16)

The detailed new feature description can be found at:

billboard.js 2.0 is out! 🎉🎊, more smaller and faster

Checkout the detailed changes & migration guide from v1:

Bug Fixes

  • all: Fix test cases (2e1ad79)
  • arc: fix applying data.labels.colors (#1448) (c128fad), closes #1440
  • axis: fix incorrect clip node handling (a8c6f96), closes #1449
  • axis: make axis clip-path to fit real axis size (7419f44), closes #1449
  • bar: fix bar width scale on zoom (59073bd), closes #1476
  • data: fix for data.labels=false (b7a0972), closes #1444
  • data.selection: fix selection.isselectable value check (9d41a04)
  • gauge: fixed wrong bottom padding calculation (0542586), closes #1441 #1471
  • legend: Don't bind event when interaction is false (4546c00)
  • point: Correct focus.only to work in mobile env (67eea16)
  • point: Correct point.focus.only (1686594)
  • point: update point generation (da63e39)
  • subchar: correct subchart rendering (44ed216), closes #1458

Code Refactoring

Features

  • axis: Intent to ship log scale (6fdf3e4), closes #1351
  • bar: Intent to ship bar.label.threshold (72a7b7f), closes #1427
  • gauge: Intent to ship gauge.label.threshold (#1443) (9a0807e), closes #1439
  • interaction: split selection, subchart & zoom (ba1e4f2)
  • point: Intent to ship point.focus.only (bb70347)

BREAKING CHANGES

  • all: v2 updates
  • module: new index for ESM build
  • split Axis releated size from size.ts --> size.axis.ts
  • split common main option from Options.ts --> ./common/main.ts
  • Instead export Axis class, add .getAxisInstance() to make beneficial
    from tree-shaking

Don't miss a new billboard.js release

NewReleases is sending notifications on new releases.