Socket
Socket
Sign inDemoInstall

recharts

Package Overview
Dependencies
43
Maintainers
3
Versions
240
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
68
24Next

2.1.0

Diff

Changelog

Source

2.1.0 (aug 10, 2021)

feat

  • Wrap ResponsiveContainer with forwardRef

fix

  • Fix for recharts issue #1787
  • Add chart type to tooltip payload
arcthur
published 2.0.10 •

Changelog

Source

2.0.10 (jul 13, 2021)

feat

  • Feat: Allow automated axis padding for "gap" and "no-gap" for barcharts with continuous axis #2457
  • Passthrough position attribute on createLabeledScales

fix

  • fix: barchart for a single data point #2512
  • fix: the bar label type definition #2582
  • fix: show scatter chart tooltip cross cursor #2592
arcthur
published 2.0.9 •

Changelog

Source

2.0.9 (mar 24, 2021)

chore

  • update test config and webpack, etc

fix

  • fix for missing sankey tooltips, fix #2496
  • added polyfill for ReactResizeDetector, fix #2504
  • fix condition to actually remove the listener, fix #2498
  • fix typing of <Area type /> prop, fix #2471
xile611
published 2.0.8 •

Changelog

Source

2.0.8 (Feb 24, 2021)

feat

  • allow to show tooltip when hover or click bar item for <BarChart /> and <RadialBarChart />
  • add api getXScales, getYScales, getXScaleByAxisId, getYScaleByAxisId, getItemByXY to chart, fix #2422
  • Add SyncMethod to categorical charts
  • findAllByType searches for match inside of a fragment
  • allow to add customized polarAngles and polarRadius to <PolarGrid />, fix #2452

fix

  • fix Tooltip receive wrong payload when mouse enter <Line />, .etc, fix #2394
  • fix Treemap tooltip when use dataKey to specify value, fix #2428

deps

  • update react-resize-detector to 6.6.0, fix #2431
xile611
published 2.0.7 •

Changelog

Source

2.0.7 (Feb 18, 2021)

fix

  • add missed type definition of tickMargin in XAxis, YAxis, fix #2427
  • filter out nil elements of chart
  • ensures id="undefined" is not rendered to the DOM when use ResponsiveContainer
  • fix auto scale type of ComposedChart, fix #2403
  • Fix .d.ts types that relay on d3
xile611
published 2.0.6 •

Changelog

Source

2.0.6 (Feb 08, 2021)

fix

  • fix types error in npm pkg, fix #2398
xile611
published 2.0.5 •

Changelog

Source

2.0.5 (Feb 08, 2021)

feat

  • defer when syncing to other charts

fix

  • Fix Customized component types
  • fix child event not dispatched, fix #2414
xile611
published 2.0.4 •

Changelog

Source

2.0.4 (Jan 27, 2021)

feat

  • add maxLines prop to Text component

fix

  • Add payload to Payload interface
  • prevent rerender errors in ResponsiveContainer
  • Add PieLabel, PieLabelRenderProps types

deps

  • Upgrade react-resize-detector(4.x => 5.x) types to match the library
xile611
published 2.0.3 •

Changelog

Source

2.0.3 (Jan 13, 2021)

refactor

  • use getDerivedStateFromProps to replace UNSAFE_componentWillReceiveProps, support react@17, #2385
xile611
published 2.0.2 •

Changelog

Source

2.0.2 (Jan 12, 2021)

fix

  • fix lint error
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc