Socket
Socket
Sign inDemoInstall

recharts

Package Overview
Dependencies
Maintainers
3
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recharts - npm Package Versions

1
25

2.0.2

Diff

Changelog

Source

2.0.2 (Jan 12, 2021)

fix

  • fix lint error
xile611
published 2.0.1 •

Changelog

Source

2.0.1 (Jan 12, 2021)

fix

  • Fix typo, createLabeldScales -> createLabeledScales
  • Prefer Number.isFinite if available
  • fix types error
  • fix(package.json): disable side effects explicitly

feat

  • Add aria-hidden to measurementSpan
xile611
published 2.0.0 •

Changelog

Source

2.0.0 (Dec 29, 2020)

fix

  • fix minAngle for 0 in PieChart, fix ##2237
  • fix type error of <Bar />, fix #2335
  • fix type error of cursor in <Tooltip />, fix #2178
  • fix Props of XAxis, fix #2128
  • export Props of components, fix #2319, #2156, #2203
  • Fix typo, getRectangePath -> getRectanglePath in Rectangle
  • allow Duplicated Category for bar charts not using correct entries for custom tool tips
  • fixing typescript array coalesce
  • fix types error of sankey, fix #2280
  • Fixed SVG path for pie charts when corner radius is set to a value other than zero (#2331)

feat

  • add props reversed to <Funnel />
  • add breakAll props to <Text /> to allow break all for chinese
  • fix width of labelList in Funnel; fix #2056, #1866
  • support range RadarChart and add props connectNulls to <Radar />, fix #1890
  • add ability to pass in custom legend icon.

deps

  • upgrade react-resize-detector to 5.2.0 and fix ts error, fix #2300
  • update react-smooth to 1.0.6 to fix bug after upgrading d3
  • upgrade d3 packages
xile611
published 2.0.0-beta.8 •

Changelog

Source

2.0.0-beta.8 (Nov 16, 2020)

fix

  • Add color change for inactive legend label
  • fix stackOffset="sign" in #2292, and add props stackOffset="positive" to fix #1667

refactor

  • update filterSvgElements and renderByOrder
  • Replace core-js polyfill and remove babel-polyfill
xile611
published 2.0.0-beta.7 •

Changelog

Source

2.0.0-beta.7 (Sep 08, 2020)

fix

  • Fix flickering tooltip by keeping the isTooltipActive flag from the previous state
  • fix(AreaDot Type): add option to use a function that returns a react element
  • Fix typescript error in polar radar
  • Fix typos in Label.renderCallByParent
  • Add type definition for label prop on XAxis, YAxis and ZAxis

feat

  • Pass tickFormatter as a prop to customized tick component
  • Allow array value for last data element in Funnel to set bottom width instead of forcing 0
  • Add payloadIndex to cursor props
xile611
published 2.0.0-beta.6 •

Changelog

Source

2.0.0-beta.6 (May 12, 2020)

fix

  • fix error of Brush when data is empty, but chart width or height or Brush update, fix #2093
  • fix build error , fix #2120
  • fix attrs of <Label />, reverts previous change: now positionAttrs is again after attrs
  • Get legend wrapper boundingRect to correctly compute legend offset, fix #2062

feat

  • support customized traveller of Brush, fix #1600
xile611
published 2.0.0-beta.5 •

Changelog

Source

2.0.0-beta.5 (Mar 26, 2020)

fix

  • fix types of generateCategoricalChart
  • fix position of tooltip when the categorical axis has time scale
  • fix position of tooltip when direction is rtl
  • fix name of Scatter in tooltip
  • Fix outerArcAngle and innerArcAngle when cornerIsExternal == true
  • fix IE 11 supoort because of d3-scale@3.x

feat

  • add Global setting, include "isSsr"
  • support tooltip trigger by click event
  • add static method registerSymbol to Symbols
  • add payload to formatter and labelFormatter in Tooltip
  • allow domain of axis to change the order of categories
xile611
published 2.0.0-beta.4 •

Changelog

Source

2.0.0-beta.4 (Mar 17, 2020)

fix

  • fix error of <Curve /> when add child to <Line />, fix #2051
  • fix Stack AreaChart when some values is negative, fix #1667
  • fix stack AreaChart when some values is nill, fix #1601

dep

  • Upgrade reduce-css-calc

chore

  • add types
xile611
published 2.0.0-beta.3 •

Changelog

Source

2.0.0-beta.3 (Mar 13, 2020)

fix

  • fix range of ReferenceArea of BarChart, fix #2045
  • fix className of axis line, fix ##2024
  • fix ComposedChart when has multiple <Bar/>, fix #2031
  • fix ComposedChart when specify scale of <XAxis />, fix #2010

chore

  • update eslint and add .prettierrc
xile611
published 2.0.0-beta.2 •

Changelog

Source

2.0.0-beta.2 (Mar 10, 2020)

fix

  • Do word line calculation only when needed
  • Fixes arc angles when cornerIsExternal is used
  • Invert cartesian label position based on negative values
  • Fix usage of hooks in Tooltip, Label, Legend and Customized
  • Move draging-end listener to the window for brush
  • Fix trigger after mouse leave
  • Added the angle as key which need to be used in the Label align
  • Rewrite index.js to index.ts, update scripts in package.json

feat

  • Added index to tickFormatter
  • Allow axis line customization through axisLine prop
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc