react-plot

Library of React components to render SVG 2D plots. You can check the story book https://react-plot.pages.dev/ or have a look to the extensive documentation

MIT License

Downloads
2.4K
Stars
12
Committers
9

Bot releases are visible (Hide)

react-plot - v1.4.2 Latest Release

Published by zakodium-bot almost 2 years ago

1.4.2 (2022-12-04)

Bug Fixes

  • add missing key to scatter lines (4e8eabc)
  • include src folder in build (a93514d)
react-plot - v1.4.1

Published by zakodium-bot almost 2 years ago

1.4.1 (2022-12-04)

Bug Fixes

react-plot - v1.4.0

Published by zakodium-bot almost 2 years ago

1.4.0 (2022-11-25)

Miscellaneous Chores

react-plot - v1.0.0

Published by zakodium-bot almost 2 years ago

1.0.0 (2022-11-25)

Features

  • add Series wrapper component (4317df0)

Miscellaneous Chores

react-plot - v0.20.4

Published by zakodium-bot almost 2 years ago

0.20.4 (2022-11-01)

Bug Fixes

  • avoid duplicate keys in ticks (cbd1391)
  • avoid unnecessary re-renders in basic cases (34892fb)
react-plot - v0.20.3

Published by zakodium-bot about 2 years ago

0.20.3 (2022-10-20)

Bug Fixes

react-plot - v0.20.2

Published by zakodium-bot about 2 years ago

0.20.2 (2022-09-09)

Bug Fixes

react-plot - v0.20.1

Published by zakodium-bot over 2 years ago

0.20.1 (2022-06-28)

Bug Fixes

  • correctly compute default axis in hooks (#424) (0aa6f36)
react-plot - v0.20.0

Published by zakodium-bot over 2 years ago

0.20.0 (2022-06-23)

Features

react-plot - v0.19.1

Published by zakodium-bot over 2 years ago

0.19.1 (2022-05-24)

Bug Fixes

react-plot - v0.19.0

Published by zakodium-bot over 2 years ago

0.19.0 (2022-05-17)

Features

  • add BoxPlot annotation (#408) (315f829)
  • add callbacks in boxplot annotation (f2d8118)
  • add xAxis and yAxis to annotations (0accf77)
  • make primary & secondary grids independent (#403) (c724eed)
react-plot - v0.18.0

Published by zakodium-bot over 2 years ago

0.18.0 (2022-04-28)

Features

Bug Fixes

react-plot - react-plot v0.17.1

Published by zakodium-bot over 2 years ago

Bug Fixes

  • optimize Axis to prevent rendering loop (#388) (1b761c1)
react-plot - react-plot v0.17.0

Published by zakodium-bot over 2 years ago

⚠ BREAKING CHANGES

  • do not adapt axes to shifted series (#358)
  • use two svg layers to improve annotations performance (#360)
  • rename displayMarker prop to displayMarkers (#361)
  • onDraw callback was renamed to onEnd in useDrawPath and useDrawRectangle
  • 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 of paddingStart={0.1} for percentages. Padding now only takes effect if the axis' boundary (min or max) is not set.

Features

  • add close and onDraw 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

Code Refactoring

  • rename displayMarker prop to displayMarkers (#361) (7a49547)
react-plot - react-plot v0.16.0

Published by zakodium-bot over 2 years ago

Features

Bug Fixes

  • do not share state between plot controllers (57bc640)
react-plot - react-plot v0.15.0

Published by zakodium-bot over 2 years ago

⚠ 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 - react-plot v0.14.0

Published by zakodium-bot over 2 years ago

⚠ BREAKING CHANGES

  • do not align annotation group by default (#268)

Features

  • do not align annotation group by default (#268) (d20a6a1)
react-plot - react-plot v0.13.1

Published by zakodium-bot almost 3 years ago

Bug Fixes

  • take tick position into account when computing plot sizes (37956a6)
react-plot - react-plot v0.13.0

Published by zakodium-bot almost 3 years ago

Features

  • add support for all line props and markerSize to arrow annotation (#247) (b4e7898)
  • automatically create axes if they are omitted (#248) (0bbe3bd)
  • implement all missing axis props & fix Position of tick labels (#254) (009a3bc)
  • support annotation x/y coordinates as "%" (#255) (a23bda8)

Bug Fixes

  • resize plot for and place legend correctly (#250) (cc55696)
react-plot - react-plot v0.12.0

Published by zakodium-bot almost 3 years ago

⚠ BREAKING CHANGES

  • update annotations props names (#224)
  • reimplement plot rendering with auto-sizing (#203)

Features

  • add color prop to annotation arrow (#231) (989ad21)
  • add onMouseUp, onMouseDown and onDoubleClick callbacks (3dc68cc)
  • support alignment of annotation groups (#223) (0a46e11)
  • tickLabelFormat callback in axis component (#220) (352dfe5)
  • update annotations props names (#224) (9344269)

Code Refactoring

  • reimplement plot rendering with auto-sizing (#203) (ee1483d)
Package Rankings
Top 4.98% on Npmjs.org
Badges
Extracted from project README
NPM version npm download