Releases: zakodium-oss/react-plot
Releases · zakodium-oss/react-plot
v0.20.0
v0.19.1
v0.19.0
v0.18.0
react-plot v0.17.1
react-plot v0.17.0
⚠ BREAKING CHANGES
- do not adapt axes to shifted series (#358)
- use two svg layers to improve annotations performance (#360)
- rename
displayMarker
prop todisplayMarkers
(#361) onDraw
callback was renamed toonEnd
inuseDrawPath
anduseDrawRectangle
- use pointer events instead of mouse events
- Numeric padding is now interpreted as an offset on the axis' scale. Use for example
paddingStart="10%"
instead ofpaddingStart={0.1}
for percentages. Padding now only takes effect if the axis' boundary (min or max) is not set.
Features
- add
close
andonDraw
props to useDrawPath (#339) (e27ea7c) - add Group annotations style (#295) (1288aa7)
- add ScalarValue type (#386) (9121984)
- add support for nested PlotController contexts (#309) (1573afe)
- add tickFormat prop to ParallelAxis (#336) (9dacd90)
- add useAxisWheelZoom hook (3ee76fd)
- add usePan hook (3ee76fd)
- add usePlotControllerAxis hook (3ee76fd)
- allow lines in ScatterSeries (#354) (0eee43c)
- improve default values in legend (#337) (07ceb40)
- interpret padding as number, string, or percentage (#341) (4664c20)
- provide axis domain to plot event handlers (3ee76fd)
- show and hide series from the legend (#294) (3ba55e1)
- use pointer events instead of mouse events (c43ce78)
- use two svg layers to improve annotations performance (#360) (ce897db)
Bug Fixes
- add default lineStyle value in RangeSeries (#382) (ae14c2c)
- axes domain (#352) (e9830d0)
- do not adapt axes to shifted series (#358) (24b8d15)
- errorBar & pointLabel in BarSeries,LineSeries (#381) (14f6e37)
- FunctionSeries (#380) (786bc3d)
- heading (7755fb6)
- improve types with generics (442e153)
- legend bugs (#369) (746ef08)
- read series visibility correctly (#351) (5f33b6c)
- remove event props from plot object props (930fd26)
- ScatterSeries Simple markersShape in Legend (#383) (8e0d12d)
- update packages (728eadd)
Code Refactoring
react-plot v0.16.0
react-plot v0.15.0
⚠ BREAKING CHANGES
- implement hooks to handle plot events
- change series groupID prop to id
Features
- add axis secondary ticks (#267) (4de79db)
- add events to implement pan and vertical scale (#261) (774c73d)
- add onClick, and style callback in legend (#288) (3a81947)
- add time axis (#272) (ad169d5)
- display labels & customize Markers in ScatterSeries (#286) (1b83916)
- implement hooks to control axis min and max (#296) (5ee0ac8)
- implement hooks to handle plot events (5ee0ac8)
- implement useAxisZoom hook (5ee0ac8)
- implement useStartMoveEnd, useDrawRectangle, and useRectangularZoom hook (5ee0ac8)
- new DIrectEllipse annotation (95a9ab2)
Bug Fixes
- allow two plots to be rendered on the same page (5ee0ac8)
- disable text selection on all plot elements by default (#274) (fe649c4)
- export DirectedEllipse from the package (5ee0ac8)
Miscellaneous Chores
- change series groupID prop to id (3a81947)
react-plot v0.14.0
react-plot v0.13.1
Bug Fixes
- take tick position into account when computing plot sizes (37956a6)