Skip to content

Latest commit

 

History

History
536 lines (314 loc) · 38 KB

CHANGELOG.md

File metadata and controls

536 lines (314 loc) · 38 KB

Changelog

3.0.0 (2024-10-14)

⚠ BREAKING CHANGES

  • the module is now ESM-only

Features

2.0.0 (2024-07-30)

⚠ BREAKING CHANGES

  • Changed React peer dependency to >=18.0.0

Bug Fixes

1.4.2 (2022-12-04)

Bug Fixes

  • add missing key to scatter lines (4e8eabc)
  • include src folder in build (a93514d)

1.4.1 (2022-12-04)

Bug Fixes

1.4.0 (2022-11-25)

Miscellaneous Chores

1.0.0 (2022-11-25)

Features

  • add Series wrapper component (4317df0)

Miscellaneous Chores

0.20.4 (2022-11-01)

Bug Fixes

  • avoid duplicate keys in ticks (cbd1391)
  • avoid unnecessary re-renders in basic cases (34892fb)

0.20.3 (2022-10-20)

Bug Fixes

0.20.2 (2022-09-09)

Bug Fixes

0.20.1 (2022-06-28)

Bug Fixes

  • correctly compute default axis in hooks (#424) (0aa6f36)

0.20.0 (2022-06-23)

Features

0.19.1 (2022-05-24)

Bug Fixes

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)

0.18.0 (2022-04-28)

Features

Bug Fixes

0.17.1 (2022-04-10)

Bug Fixes

  • optimize Axis to prevent rendering loop (#388) (1b761c1)

0.17.0 (2022-04-10)

⚠ 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)

0.16.0 (2022-02-07)

Features

Bug Fixes

  • do not share state between plot controllers (57bc640)

0.15.0 (2022-02-04)

⚠ 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)

0.14.0 (2022-01-24)

⚠ BREAKING CHANGES

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

Features

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

0.13.1 (2022-01-18)

Bug Fixes

  • take tick position into account when computing plot sizes (37956a6)

0.13.0 (2022-01-18)

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)

0.12.0 (2022-01-13)

⚠ 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)

0.11.0 (2021-11-02)

Features

  • add relative position to line annotation (#195) (f1ce10c)

0.10.2 (2021-10-01)

Bug Fixes

  • update dependencies and add react as peer dependency (f935942)

0.10.1 (2021-05-07)

Bug Fixes

  • add Legend on ScatterSeries (7ee85e3)
  • correctly export RangeSeriesPointType (ccbb433)
  • export BarSeriesProps (b97cda9)
  • improve validation of Plot children (0e7db4b)

0.10.0 (2021-04-21)

Features

  • add annotations as children to PlotObject (241c941)
  • add annotations to plotObject (4a6ade9)

Bug Fixes

  • shape story out of viewport (a5a9c29)

0.9.0 (2021-04-20)

Features

  • allow parallel axes in plotObject (40f8889)
  • create a parallel axis with style (ca7596b)

Bug Fixes

  • allow empty svg configuration (6c39095)
  • correctly compute position of Annotation.Shape (d4ee0d7)
  • remove display gridlines from parallel axis (3b3dba5)
  • uses pixels position to determine closest (5e5042a)

0.8.0 (2021-04-14)

Features

0.7.1 (2021-03-29)

Bug Fixes

  • do not show legend if series is hidden (#163) (d1e57eb)

0.7.0 (2021-03-29)

Features

  • add logscale to left axis (056a605)
  • add Range Series component (#149) (b7acda8)
  • initial implementation of log axis (14acded)

Bug Fixes

  • add missing hiddensecondaryticks on logscale (0ada873)

0.6.0 (2021-03-09)

⚠ BREAKING CHANGES

  • The PlotProps style and viewportStyle props were renamed to plotViewportStyle and seriesViewportStyle, respectively.

Features

Bug Fixes

Code Refactoring

  • rename style and viewportStyle props (ecdc727)

0.5.0 (2021-01-27)

Features

Bug Fixes

  • add default color to not be "red" on Legend (2ea34d2)
  • add generated color to the shape too (17192e4), closes #108
  • apply fill-opacity before user styles (fbd0ea9)
  • avoid ticks overlap (#124) (ee12c40), closes #115
  • change the Legend to use the marker (005f689), closes #108

0.4.0 (2021-01-22)

Features

  • add IR spectrum storybook (230376a)
  • add option for getting ticks inside the axis (9e4ace7)
  • add scatter plot option (73567a0)
  • add scatter plot to PlotObject options (528760e)
  • add showTicks props on Axis (#84) (64563c3)
  • add story to addons (0a14f67)
  • add tick length (092e109)
  • add tick style modifiers (8329f0d)
  • add viewport style (#67) (6f84e14)
  • adds a single prop component to render plot (320d68b)
  • allow legend position inside plot (#87) (18f468f)
  • allow to add axis in different position (9f46934)
  • allows to hide series and specify serie id (#68) (571da6b)
  • create VerticalText component & add vertical-text on cursor (#96) (3c0a4c6)
  • flip axis (1a62250), closes #23
  • hidde or display axis (426de9c), closes #34
  • marker style allows to a property to be a function (960103b)
  • multiple axis (b628cd3)
  • use camel case for ticks style (fc27982)

Bug Fixes

  • add dominantBaseline on Ticks (#91) (3978abe)
  • color match label and plot (9db3451)
  • margin optional in plots (569dcc8), closes #36
  • missing validation on lineseries (e774dc2)
  • preffer named groups in regex (b2e5ec2)
  • remove axis from state on unmount (4041a01)
  • rename variables on text (67ab11e)
  • set the marker to be in front of line (#107) (7e0cd37), closes #103
  • ticks text positions (435c2da)
  • update broken dependency (a17ae88)
  • update ir storybook for percentage (2550380)
  • use id of serie instead label for color (67274db), closes #37
  • use of id for color scaler instead of labels (fba975e)
  • vertical center ticks text (efadc85)
  • types: allow Plot to have a single child (6a2e585)

Performance Improvements

  • use memoification for mappin series (7013491)

0.3.0 (2020-12-10)

⚠ BREAKING CHANGES

  • deletes tickFormat for avoiding colitions

Features

  • add "paddingXXX" prop to axes (04273bf), closes #24
  • allow to set boundaries on axis (da2164e)
  • clip the graph instead of delete points (4b6dccd)

Bug Fixes

  • missing margin values to update (4cdd0e0)
  • objects position misscalculations (4124d79)
  • small values overload on x axis (1aa7fd3)
  • use scientific notation for large number (29ddacc)

Performance Improvements

  • defines a unique clipPath for all series (461b99a)

0.2.1 (2020-12-03)

Bug Fixes

0.2.0 (2020-12-01)

Features

  • add label format (7748ba8)
  • customize space from label to axis (018bafe)

0.1.0 (2020-11-25)

Features

  • add label style property to axis (#12) (794beaf)

Bug Fixes

  • release with correct name (bedeae6)

0.1.0 (2020-11-23)

Features

Bug Fixes

  • avoid overflow of grid (6f4c795)
  • avoid side-effects directly in render (3992b5b)
  • check non null scales for axis (a350586)
  • components cycle broken (156b806)
  • context type update (1320a92)
  • Display plot on storybook (1e986ba)
  • importation types (20ce44f)
  • padding on axis text (90f3145)
  • send props to axis using context (e58d887)