Skip to content

v1.7.13

Compare
Choose a tag to compare
@emeeks emeeks released this 21 Feb 21:39
· 2321 commits to main since this release

Features

  • Added customAreaMark to XYFrame, which is sent ({d, projectedCoordinates, xScale, yScale, bounds}) you can return just the d to be passed to a path element or whatever JSX SVG you want. the bounds object sent includes bounding box and a "center" which is the pole of inaccessibility (for labels)
  • Parent div/span of frames will have a class corresponding to the frame (xyframe, ordinalframe, networkframe)

Fixes

  • Brush will reinitialize with a new extent (thanks @susielu)
  • unpkg dist name corrected (thanks @puria)
  • Voronoi points are constrained to those on the canvas, so if you use fixed extents and push points off the canvas, the hover regions will ignore them
  • Added ESlint config file (thanks @netbek) and linted the heck out of things

Tests

  • Actually wrote some tests. Coverage is still... disappointing