3.0.0 (2024-10-14)
- the module is now ESM-only
- make module native ESM (1f71a92)
2.0.0 (2024-07-30)
- Changed React peer dependency to >=18.0.0
1.4.2 (2022-12-04)
1.4.1 (2022-12-04)
1.4.0 (2022-11-25)
1.0.0 (2022-11-25)
- add
Series
wrapper component (4317df0)
0.20.4 (2022-11-01)
0.20.3 (2022-10-20)
0.20.2 (2022-09-09)
0.20.1 (2022-06-28)
0.20.0 (2022-06-23)
0.19.1 (2022-05-24)
0.19.0 (2022-05-17)
- 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)
0.17.1 (2022-04-10)
0.17.0 (2022-04-10)
- 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.
- 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)
- 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)
0.16.0 (2022-02-07)
- useCrossHair Hook (bafa435)
- do not share state between plot controllers (57bc640)
0.15.0 (2022-02-04)
- implement hooks to handle plot events
- change series groupID prop to id
- 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)
- 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)
- change series groupID prop to id (3a81947)
0.14.0 (2022-01-24)
- do not align annotation group by default (#268)
0.13.1 (2022-01-18)
- take tick position into account when computing plot sizes (37956a6)
0.13.0 (2022-01-18)
- 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)
0.12.0 (2022-01-13)
- update annotations props names (#224)
- reimplement plot rendering with auto-sizing (#203)
- 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)
0.11.0 (2021-11-02)
0.10.2 (2021-10-01)
- update dependencies and add react as peer dependency (f935942)
0.10.1 (2021-05-07)
- add Legend on ScatterSeries (7ee85e3)
- correctly export RangeSeriesPointType (ccbb433)
- export BarSeriesProps (b97cda9)
- improve validation of Plot children (0e7db4b)
0.10.0 (2021-04-21)
- shape story out of viewport (a5a9c29)
0.9.0 (2021-04-20)
- 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)
0.7.1 (2021-03-29)
0.7.0 (2021-03-29)
- add logscale to left axis (056a605)
- add Range Series component (#149) (b7acda8)
- initial implementation of log axis (14acded)
- add missing hiddensecondaryticks on logscale (0ada873)
0.6.0 (2021-03-09)
- The PlotProps
style
andviewportStyle
props were renamed toplotViewportStyle
andseriesViewportStyle
, respectively.
- add Annotation components (#137) (b56b734)
- add bar series component (#130) (6e3d213), closes #77
- add error bars (#141) (8a6688c)
- add secondary ticks (#128) (2a8f0ac), closes #116
- improve documentation of Plot and add "svgStyle" prop (be1c039)
- remove legend on unmount (#145) (3002c11)
- remove the stroke color from a Marker (#144) (aab12af), closes #138
- throw error if width or height are undefined (#129) (9f5cbaa)
- Tick text aligned according to ticks length (#142) (4bb9335), closes #139
- typo on dimensions (#146) (0f8f1ce)
- use align group to align embedded legend (ed6c1c2)
- rename style and viewportStyle props (ecdc727)
0.5.0 (2021-01-27)
- add more shapes (#125) (f5f4a18), closes #113
- add some features to the Legend (impl a Context) (380b717), closes #108
- add style prop to Plot (#117) (ce9f3f2)
- export public types (#112) (f88277c)
- 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)
- 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)
- 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)
- use memoification for mappin series (7013491)
0.3.0 (2020-12-10)
- deletes tickFormat for avoiding colitions
- add "paddingXXX" prop to axes (04273bf), closes #24
- allow to set boundaries on axis (da2164e)
- clip the graph instead of delete points (4b6dccd)
- missing margin values to update (4cdd0e0)
- objects position misscalculations (4124d79)
- small values overload on x axis (1aa7fd3)
- use scientific notation for large number (29ddacc)
- defines a unique clipPath for all series (461b99a)
0.2.1 (2020-12-03)
0.2.0 (2020-12-01)
0.1.0 (2020-11-25)
- release with correct name (bedeae6)
- add code base for axis (885c5b2)
- add heading (f6a1f41)
- add label to axis (9951758)
- add markers to line (#9) (1503666)
- add scale to context (5bbd3b3)
- change state identification (7c3a616)
- display legends (32f043a)
- initial structure implementation (47beb45)
- remove data boundaries on unmount of comp (60e823c)
- show grids (a9106a9)
- use {x[], y[]} instead of {x,y}[] for data (f06e5ce)
- use color scales (7960430)
- 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)