- 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 , reverts previous change: now
positionAttrs
is again afterattrs
- Get legend wrapper boundingRect to correctly compute legend offset, fix #2062
- support customized traveller of Brush, fix #1600
- 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 [email protected]
- 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
- fix error of when add child to , fix #2051
- fix Stack AreaChart when some values is negative, fix #1667
- fix stack AreaChart when some values is nill, fix #1601
- Upgrade reduce-css-calc
- add types
- fix range of ReferenceArea of BarChart, fix #2045
- fix className of axis line, fix ##2024
- fix ComposedChart when has multiple , fix #2031
- fix ComposedChart when specify scale of , fix #2010
- update eslint and add .prettierrc
- 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
- Added index to tickFormatter
- Allow axis line customization through axisLine prop
- fix error parameters in
appendOffsetOfLegend
- fix style of
- Only support react@16
- Use typescript to rewrite src/
- revert PR#1916
- fix Text update, fix #1914
- Adding Composed chart to rescaled charts, to fix #1887
- fix: rollback to componentWillReceiveProps, fix crash in react@15
- Used UNSAFE_componentWillReceiveProps to replace componentDidUpdate
- Fixed Text Component crash
- Fixed eslint errors in src/
- Add props of to always show text
- Add onClick event to sankey chart
- Shape prop can be used without any other prop in reference area
- react unsafe methods refactored
- Fix bar chart tooltip (#1837)
- allow events on Text and Label components
- Enable Tooltip's
translate
style - Added position props for ReferenceLine to allow to control offset of it
- handle
dataKey
as function, get correct data array for tooltip - fix style of legend in case of area and radar use fill for fallback color
- Add cornerIsExternal prop to center rounded corner at radial bar edge
- Add new component
Customized
to render customized content which can user internal state and props - Add props
tooltipType="none"
to hide tooltip data for Area, Bar, Line, Scatter, Funnel, Pie, Radar, RadialBar
- fix the order of tooltip items when not specify itemSorter
- Fix typo in example of RadialBarChart
- fix "Maximum call stack size exceeded" error when use label={}
- fix bug of "Cannot read property reduce of undefined in Text.js"
- fix
getDomainOfDataByKey
when all the values are null or undefined
- Use y-axis ticks to determine y-axis category
- fix bug in ThreeMap inside ResponsiveContainer, fix #1692
- Avoid same keys on label and line, fixes #1302
- use _.max to replace Math.max.apply, use _.min to replace Math.min.apply
- Adds forceCornerRadius prop to RadialBar
- calculate width with aspect and height when width is falsey
- fix the bug of ReferenceLine when calculate coordinates, fix #1643
- fix bug of Scatter in ComposedChart
- allow aria-* attributes and "role", "focusable", "tabIndex" of charts, fix #1226, fix #1584
- add new props "paylodUniqBy" to Tooltip and Legend
- fix the bug of automatically calculate the y-coordinate of yAxis tick when tick has unit, fix #1623
- render clipPath in , fix bug in generateCategoricalChart, fix #1592
- remove React.Fragment in DefaultTooltipContent, fix #1645
- fix bug of when width < 0 &&
radius
is not null, fix #1596 - fix paddingAngle of Pie when render only not
- fix onMouseEnter and Tooltip for Pie on FireFox
- Make the timeOut timer for the brush configurable through props
- Allow to format name in Tooltips
- Update lodash version to 4.17.5 and install [email protected] dev dependency
- Updated package.json to mark effectful modules
- chore: update version of sinon, from 4.x to 7.x
- Refactor transition of , , , make transition more smoothly when the length of dataset changes
- replace lodash isFinite with Number.isFinite, meanwhile add polyfill core-js's Number polyfill in order to use Number.usFinite directly
- updated area chart to cut off dots on left most axis
- Fix height of TreeMap
- Add FunnelChart and Trapezoid
- Add nested Treemap
- Fix bug preventing use of functions or custom components for the Bar background prop
- Fix incorrect sort logic in stripe rendering
- Added animateNewValues property to Line
- use lodash _.values instead of Object.values
- perfer YAxis which has finite domain and nice ticks when a chart has many YAxes
- fix for expected length height attribute
- add babel-plugin-lodash in babelrc
- update webpack.config.js to remove sourceMap in umd/Recharts.min.js
- Fix domain calculation with 0 values (#1519)
- find yAxisWithNiceTicks and choose it over getAnyElementOfObject
- update recharts-scale to 0.4.2 to fix bug of DecimalError when data is Inifinity, fix #1493
- Fix axis type error
- Fix add sideEffects flag to enable tree-shaing
- Fix the react-resize-detector don't match react 15
- upgrade recharts-scale to 0.4.0, to fix the calculation of big float
- Add blendStroke prop to Pie component
- Adding contentStyle prop to Tooltip for styling DefaultTooltipContent
- Fixed typo of playload -> payload in Radar chart
- Fix PieChart animation event handlers not firing
- Fix alwaysShow warn() condition in ReferenceLine
- Fix Tooltip disappears when using setState()
- Allow reference areas which extend past the canvas bounds
- Allow to add more classes in tooltips
- Reference line segment by specifying a pair of endpoints
- only use babel-es in es6/, fix #1372
- #1195 Replace axis scale value
utcTime
withutc
- remove wrapperStyle on DefaultTooltipContent
- Clip dots of
- Move style spread to after default styles to allow overriding
- Fixing range area chart bottom bound. Base line needed to be filterted for connecting null
- Fix tooltips that disappear while mouse still over a scatter point
- use lodash-es for es6 build
- Factor out some scale- and rect-related functions
- Add touchStart & touchEnd event handling
- Add explicit prop
defaultShowTooltip
to activate tooltip - Position the 'top' label outside the element for negative heights
- fix Scatter Chart:lineType 'fitting' does not work
- Update to allow CSP compliance on setting styles
- Remove react-transition-group from peerDependencies
- Replace flatmap of reduce to _.flatmap in getDomainOfDataByKey
- Add the gap of props for brush
- Fix
verticalFill
andhorizontalFill
in<CartesianGrid />
when points are unordered
- Add props
useTranslate3d
to control whether use translate3d or translate in - Add props
verticalFill
andhorizontalFill
in<CartesianGrid />
to show grid background - Add
visibleTicksCount
in props of customized tick of<CartesianAxis />
- Replace lodash _.get with simple Array.prototype.find
- Prevent texts from being selected when dragging the brush
- Add try...catch... when getTotalLength is called by a svg path to fix IE bug
- Add props
allowDuplicatedCategory
to XAxis, YAxis, PolarAngleAxis, PolarRadiusAxis, to remove duplicated category when type="category" - Add props id in
<Area />
,<Bar />
,<Line />
,<Scatter />
,<Label />
,<LabelList />
for SSR - Support specify domain of category type axis when allowDuplicatedCategory is false, add cooresponding "xAis", "yAxis", "zAxis" to the props or customized shape of Scatter
- Fx sanketartAngle and endAngle of RadarChart diagram not re-rendering when updating data prop
- Fix animation of AreaChart when baseLine is NaN / undefined
- Fix default startAngle and endAngle of RadarChart
- Use cloneElement to create Legend
- Add props
background
to support background rectange in<Bar />
- add props
tickMargin
which set the space between text and tick line
- update PRESENTATION_ATTRIBUTES to allow set the radius of each
<Rectangle />
of BarChart - render Legend when all values of Pie is 0
- fix animation of intial
<Bar />
- fix
isChildrenEqual
when chart has a single child in an array - support LabelList in ScatterChart
- fix Label when content is a function and return simple string
- add name to propTypes of Scatter
- fix ** error of lib/
- Add datakey to proops of customized dot
- Removed the use of
Children.only
from the isSingleChildEqual call. Appears to resolve the issue logged at recharts#935 - Fix Line Animation with given Magic Number
- Don't break text contents on non-breaking spaces
- Support for "strokeDasharray" in
- Fix Bar Animation with the given Magic Number
- Fix position of
<Label />
- Fix exception of AreaChart when all the values are null
- Fix the orders of polar angle ticks in RadarChart
- Replace ** width Math.pow
- fix attributes order of
<Label />
- fix the domain of Axis when specify
ticks
- allow set x, y, width, height, horizontalPoints, verticalPoints of CartesianGrid
- add props to the parameters of callbacks
- add id prop to Pie Component
- Update Bar and Line to allow them to recognise multiple ErrorBars
- Add index to line props in Pie
- Update ReferenceDot.js
- update react-resize-detector, react-smooth to support react16
- Allow ReferenceArea to cover available space
- Support React 16
- Fix bug of animation when toggle the value of
isAnimationActive
- Add props
reverseStackOrder
to reverse the order of stacked items - Allow an arbirary domain for cartesian X and Y axes
- Added className prop for Label
- Fix confused parameter
startX
in<Brush />
- Fix ScatterChart when the type of XAxis is "category"
- Fix typo initilaState -> initialState
- Don't check for animation when it is disabled
- fix bug of paddingAngle when isAnimationActive is true
- add props filterNull to
Tooltip
, null values will not be filtered when filterNull = false
- Allowing length in different unit in ResponsiveContainer By allowing type: String on 'minHeight', 'minWidth', 'maxHeight' property, developers can use length in different units like em, pt etc.
- Render curve with fill first in Area
- remove react-transition-group in peer dependencies
- Updates resize-detector to 0.6, close #705, fix the problem with strange scrollbars appearing over the charts
- Fix error 'Cannot read property 'map' of undefined' in Pie
- Fix bug of parsing the width of Brush
- Don't render any path when width === 0 || height === 0 in Rectangle
- Avoid calculating ticks if tick is set to false
- Update the order of parsing data in mixed components
- Render unit when the props unit of XAxis, YAxis is specified
- Add default nameKey to "name" property in Pie
- Add props className and id to ResponsiveContainer
- Update recharts-scale to fix bug of ticks
- fix bug of isChildrenEqual
- fix "hide" props of YAxis
- Add props className to ReferenceLine, ReferenceDot, ReferenceArea
- Specify the contents of LabelList by
dataKey
- Fix faulty logic check in inRange function
- onTouchMove event call method that handle tooltip and active dot draw
- Show tooltip on drag movement on touch devices
- Fix viewBox of Label when render implicit label
- Fix label of Pie
- Fix events of Pie and PieChart
- Fix bug of interplateNumber
- Fix the bug of parsing "dataMin - 0.05" like domain
- update the propType of the props data or Bar
- fix the type of Curve
- fix connectNulls of
Line
- update version of recharts-scale to fix #713
- fix valueKey of Pie temporarily and add logs when use deprecated "valueKey"
- bind events to Radar
- fix animation of active-dot
- refactor PolarCharts
- refactor Animation
- refactor Label and LabelLis
- fix scale of ErrorBar
- fix dot customized className
- update react-smooth, and react-transition-group
- add mathSign in DataUtils to replace Math.sign
- fix spelling error of fillOpacity
- fix bug of axis when has duplicated ticks
- Add legendType: ‘none’ to not render coresponding legend item
- use prop-types instead of React.PropTypes
- Fix re-rendering element bug when adding new elements
- Fix circular dependence of Brush.js and LineChart.js
- Add event handlers to component Dot
- Support embedded chart as a panoram in Brush
- Add props reversed to
XAxis
andYAxis
to reverse the range of axis
- Fix error or time scale
- fix ticks for specified domain
- Update recharts-scale to fix bug of ticks
- Support band area and band bar
- support customized horizontal line and vertical line in CartesianGrid
- support customized events in ReferenceArea, ReferenceLine
- add formatter in
Legend
- Fix empty tick when category axis has nil values
- fix the propTypes of fontSize
- support props dx and dy in Text
- fix bug of stacked bar when spcify domain of axis
- fix the barSize of bars in
<Bar />
when too many bars
- Fix bug when onBBoxUpdate of Legend is null
- Fix stack chart when only have one stacked element
- Fix the offset when the boundary box update
- Fix position of XAxis in ScatterChart when the orientation is right
- Use DataUtils.uniqueId to replace lodash.uniqueId
- Add props
mirror
in XAxis and YAxis, support mirror ticks - Add props iconType to the props of Legend which can specify the icon type of legend
- Fix
dataStartIndex
anddataEndIndex
of synchronized chart - Use lodash.uniqueId to produce the id of Pie
- fix "Maximum call stack size exceeded error" caused by Tooltip update
- Animate of Tooltip may crash browser sometimes, use style transition to do the animation of tooltip
- Fix Tooltip in ScatterChart
- Fix radius of Rectangle when height < 0
- Add clip path in Area, Bar and Scatter
- Add onMouseDown and onMouseUp hooks in generateCategoricalChart
- Disable babel transform es2015 modules to commonjs for es6 build
- Use cross-env to support windows builds, likewise downgrade linebreak-style to warning
- Update release.sh
- remove opacity in ErrorBar
- fix
Tooltip
whencoordinate
is null
- add props
basevalue
inAreaChart
- add clipPath when xAxis or yAxis of
Line
allow data overflow - allow dataKey to be a map function
- support Tooltip in Sankey and Tooltip
- Allow Brush to set default startIndex and endIndex
- Fix bug of
isChildrenEqual
when component has childnull
- Adjust
barGap
whenbandSize
is too small to display bars
- Add props
payload
andvalue
, update propsindex
inactiveDot
ofLine
,Area
- Move polyfill of
Math.sign
to polyfill.js
- Support
ErrorBar
inLine
,Area
,Bar
,Scatter
- Support touch event in
LineChart
,AreaChart
,BarChart
- Add props
throttleDelay
inLineChart
,AreaChart
,BarChart
for performance - Support cornerRadius in Sector, RadialBar and Pie
- Support events in CartesianAxis, PolarAngleAxis, PolarRadiusAxis
- Support touch events in Brush
- Use
getStringSize
to calculate the width ofText
- Refactor children comparsion in
generateCategoricalChart
, and add updateId to force Brush update when children update - Refactor
getMouseInfo
to remove some duplicated codes ingenerateCategoricalChart
- Refactor Tooltip and Legend, remove react-dom-server
- Fix the
chartId
inhandleReceiveSyncEvent
ofgenerateCategoricalChart
- Adding missing event propTypes
- support x, y of
Text
are number or text - fix proptypes of Scatter to allow that the props
data
can be a array of array - fix server side render check
isSsr
- remove duplicated "square" in legendType
- fix
getStringSize
when server side rendering check fails - fix animation error when update Line which has props stroke-dasharray
- fix bug of BarChart when add stackId in only one Bar and update test cases
- remove unneed
Animate
inBar
andRectangle
- refactor interval of
CartesianAxis
, support "preserveStart", "preserveEnd", "preserveStartEnd" - add payload in the
Tooltip
andScatter
ofScatterChart
, and unify the payload of Components
RadialBar
support events triggered on the entire bar- support customized lable in
RadialBar
- support
maxHeight
inResponsiveContianer
- fix multiple y-axes breaks chart when plotting only single datum
- Relax propTypes.ticks in CartesianAxis
- support customized scale function of categorical charts
- support customized events in Legend
- refactor ResponsiveContainer with ReactResizeDetector
- change the default value of isAnimationActive
- remove some unneed default attributes of Components
- fix wrong written default props
- fix twice triggered event in Bar
- fix treemap stroke pollution cause by defaultProps
- fix strokeDasharray of Line
- add payload in Legend payload item
- fix position of vertical Legend
- Recalculate points after width or height change
- refactor ticks filter algorithm of CartesianAxis
- change order of stacked BarChart and AreaChart
- refactor event handlers of PieChart, RadarChart, Brush, RadialBarChart
- support onMouseEnter, onMouseLeave, onMouseMove, onClick in categorical chart
- fix dash line animation
- fix the bug when the children of categorical chart change
- support shape in ReferenceLine
- render Bar, Area, Line according to the order of Bar, Area, Line in ComposedChart
- refactor to treat NaN like undefined or null, fix #303
- fix tranform origin of Bar, fix #292
- support customized position of Tooltip, fix #31
- fix LodashModuleReplacementPlugin
- Major Performance Change - Re-Use Expensive To Generate Data
- support both x-axis and y-axis are numerical axis, fix #183
- add animation events in
Line
,Area
,Bar
- fix angle of PolorRadiusAxis
- Add angle property to PRESENTATION_ATTRIBUTES (#307)
- chore: update istanbul plugin and add yarn.lock
- support empty margin in generateCategoricalChart
- fix the label of RadialBarChart
- fix the bug of
<Text>{0}</Text>
- fix the bug of ScatterChart when margin lose some attributes
- support maxBarSize in BarChart and Bar
- support fill in CartesianGrid
- simplify the calculation of width and height when specified aspect
- Fix label/tick vertical alignment of Text
- New Component
Text
- Fix possible memory leak warning of events
- minPointSize working when value is 0
- Restored support for discrete values in Line and Area charts
- Allowed for strings to be used as axis id in the ScatterChart
- Stop caching span in memory of getStringSize
- Fix the bug of LineChart and ScaterChart when some data is null or undefined
- ScatterChart support for attributes using data and Cell
- Fix webpack.config.js
- allow label function to return a string
- Pass entry to formatter function
- Support labels in ScatterChart axis
- Add dataKey in the payload of Legend
- support allowDataOverflow in XAxis, YAxis, PolarRadiusAxis
- Refactor the received props of Surface
- Fixed up handling of nulls for domain creation
- Stopped domain calculation reverting to 0 for missing data points
- Fix the bug of stacked areas which have yAxisId different from "0"
- Fix the spelling error of AniamtionDecorator
- Update webpack.config.js, to support AMD
- Add cartesian Component ReferenceArea
- Refactor ResponsiveContainer and support minHeight, minWidth, aspect in ResponsiveContainer
- Fix the position of Bar for charts which have multiple y-axes
- Support the functionality that syncs multiple categorical charts when mouse enter, move, leave a chart, or when change the brush of one chart
- Fix the bug of stack offset function - "sign"
- Fix the propTypes or legendType
- Add an option "sign" to the props stackOffset in BarChart and AreaChart which allows the bars and areas to be stacked according to the sign of value.
- Fix the the bug of legend in ScatterChart and refactor symbols.
- Fix the bug that tooltip did not show up for pie chart while using nameKey and valueKey
- Refactor Brush as controlled component
- Ensured all tooltip-related state gets reset upon receiving new data for all the charts
- Support smooth curve in Scatter
- Support props connectNulls in Area, Line, and Curve,
- Refactor animation of Area
- Fix the bug of getTicksOfScale
- Fix the bug of radius of ClipPath is so small that some texts of Pie is covered
- Add itemSorter to tooltips
- add props allowDecimals in XAxis and YAxis
- Support Tooltip of RadarChart
- Fix the initial value of state isAnimationFinished in Line and Area
- Fix the spelling error, pressentation => presentation (CartesianAxis)
- Tweak text in RadarSpec
- Add paddingAngle in Pie, fix #142
- update version of react, fix #138, fix #103
- Fix the bug of calculation accuracy in IE(Sector)
- Remove unneed props "formatter" in Area and Bar
- Fix props which can be supported by html tags and svg tags
- Support multiple activeIndex in Pie
- Update d3-scale and d3-shape to the latest version
- Update version of react-smooth and recharts-scale
- Restrict the version of react to '~15.1.0'
- Fix the bug that no animation when data change, but points of Line are the same
- Remove xAxisMap and yAxisMap in ReferenceDot and ReferenceLine
- Add margin props in Sankey to avoid outer-clip
- Add shape props in ReferenceDot
- Fix the width and height of wrapper
- Fix the bug with a hack method that global css will affect the width and height of Legend, Tooltip
- Add padding in XAxis and YAxis
- Support minPointSize in Bar
- Support "dataMin - 110" and "dataMax + 100" in the domain of numeric axis
- Refactor Treemap, change ratio to aspectRatio
- Fix the bug of axisId in BarChart
- Fix the bug of tooltip's position in BarChart
- Fix PropTypes of
type
inArea
- Add Sankey
- Fix the bug of Area when the data break off in some points
- Fix the bug of ticks when 0 in ticks
- Refactor the payload of tooltip, and the props of activeDot in AreaChart
- Fix the position of labels in Bar
- Use react-container-dimensions to refactor ResponsiveContainer, close #104, close #105
- Support any svg elements in the charts, such as defs, linearGradient
- Fix the bug of Brush when data or the size of container changes.
- Add customized event handlers in BarChart
- Add curveMonotoneX and curveMonotoneY in Curve and Line
- Pass stackOffset type as an optional parameter for categorical chart
- Add
isFront
in ReferenceLine and ReferenceDot to support auxiliary information at differents z-index
- Fix legend position with margin
- Support more interpolations in Curve, Line
- Allow to set custom tick formatter function for Brush start/end index
- support animation when data update
- refactor event handlers in charts
- fix tooltip position in BarChart
- fix bug of ReactUtils in Firefox 31
- refactor data in Pie which was modified internally
- Support Tooltip in Treemap
- Rename
Symbol
toSymbols
- Fix the key of
activeDot
inAreaChart
- Refactor ticks specified in
XAxis
,YAxis
- Use area of
Symbol
to show the size of number in ScatterChart - Refactor the
activeShape
inScatter
- Add
Symbol
and support differentSymbol
in ScatterChart
- Fix the content of legend in
PieChart
- Fix the crush bug when categorical axis has duplicate labels
- Fix the bug of calculating tick width
- Update react-smooth to 0.1.4
- Update react to 15.0.0
- Fix the bug of bar animation
- update version of rechats-scale, and babel-eslint
- Remove default event handler in Pie, and add
activeIndex
to let user control the active sector - Remove detectElementResize
- Add activeDot in Line and Area
- Fix the bug of updating line when the length of line is zero at first
- Fix the base value of AreaChart which was set to be 0 before
- Support fixed value of width or height in ResponsiveContainer
- Don't overwrite payload in Legend when customized payload has been setted
- Use detectElementResize in react-virtualized to refactor ResponsiveContainer
- Fix ssr render bug of CartesianAxis
- Add support of function type customized element
- fix the props labelLine in Pie
- fix the bug of PureRender
- Add more test cases
- Refactor the implementation type of renderPolygon in
Radar
- Refactor code in
Treemap
- Remove
invariant
and addLogUtils
- Add animation of Area, Radar, RadialBar, Scatter
- Add label formatter to default tooltip
- Add props labelLine in
Pie
- Add Cell of
Pie
to set different options for each sector - Add Cell support in
Bar
,RadialBar
- Fix Pie chart Label position, When using custom label It was not rendering as part of the curve group.
- Fix
isAnimationActive
props inArea
- refactor CartesianChart to a high order component, move some function to /util/CartesianUtils which can be used in ScatterChart.
- Simplify ComposedChart, remove duplicated code
- use
filterEventAttributes
to add events props - cancel selecting line and area in LineChart, AreaChart, ComposedChart
- rollback last fix of Line animation from value
- fix the bug of Line animation from value
- implement ReferenceDot in cartesian charts
- support alwaysShow of ReferenceLine and ReferenceDot
- refactor domain of CartesianAxis and PolarRadiusAxis
- refactor this props name in ReferenceLine
- fix the bug of calculate extent in RadarChart
- fix some bugs of server side rendering when document is called
- feat: support dasharray line animation
- refactor(CartesianAxis, PolarAngleAxis, PolarRadiusAxis):rename label to tick
- feat(label): add label of CartesianAxis, PolarRadiusAxis, ReferenceLine
- feat: Implement tooltip for PieChart
- feat:Implement tooltip for RadialBarChart
- deps(d3-scale,d3-shape,oui-dom-util): 1.update version of d3-scale, d3-shape, oui-dom-util 2.update some api of d3-scale
- refactor(Legend): refactor the location of legend
- fix(CartesianChart,CartesianAxis): 1. fix the bug of dataStartIndex && dataEndIndex when the length of data was changed 2. fix the default value of tickFormatter
- fix(cartesian/Line.js): fix Line animation bug
- feat: use lodash
isEqual
write new pureRender
- fix(Pie, RadialBarChart): fix the default value of cx, cy, innerRadius, outerRadius
- refactor: rename AdaptionWrapper to ResponsiveContainer
- refactor: delete some repeated codes, and use polarToCartesian in PolarUtils
- fix: update the defaultProps of cx, cy, innerRadius, outerRadius
- fix(Sector, AdaptionWrapper):1. fix the bug of Sector when innerRadius is 0 2. fix the bug of unbind event when component is unmounted
- feat(util): use lodash replace utils
- fix(RadarChart): fix the bug of unreasonable default value for radius in PolarAngleAxis
- chore: change main and jsnext:main in package.json
- feat: support percentage string in the props(cx, cy, innerRadius, outerRadius) of RadarChart, PieChart, RadialChart
- fix(PolarRadiusAxis): add props domain
- refactor(CartesianAxis): remove unneeded props domain
- chore: optimize npm script commands
- chore: update pkg
- feat(AdaptionWrapper): add AdaptionWrapper to make charts adapt to the size of parent dom
- refactor: directory structure adjustment
- fix(LineChart, CartesianChart): 1.fix the bug of margin when only part of the attributes are specified 2.fix the bug of number axis when domain is specified 3.fix the bug of category number when no dataKey is specified 4.format the code in README.md
- refactor(treemap): support tree structure data; changed props that pass to shape
- test: 1.rename some test files 2.add test case of LodashUtil
- test(treemap): modified treemap test
- deps: add dependence oui-dom-utils
- chore(README.md): add syntax highlighting to the readme
- chore(package.json): add keyword react-component
- refactor(CartesianAxis, PolarAngleAxis): change props name "orient" to "orientation"
- refactor(Line, Bar, Pie): refactor animation using new react-smooth
- refactor(Pie, RidalBar): remove the props clockWise, and add the props endAngle
- test(Line, Bar, Radar, Scatter): add test case
- refactor(RadarChart, Radar, PolarAngleAxis, PolarRadiusAxis): refactor the components of Radar
- refactor(classNames): refactor the method of package a className
- refactor(Pie): add nameKey in Pie
- refactor(Legend): refactor the legend in all the charts, change the location method of legend
- feat(radar): add new RadarChart with the new component used in Chart, like PolarAngleAxis PolarRadiusAxis PolarGrid Polygon ex
- feat(test): add test for charts, chartWrappers, components, and shapes
- fix(Curve): fix the bug of curve defined function
- fix(ComposedChart): fix the bug of bar position when a line and a bar display a same group of data.
- chore(webpack.config.js): add react, react-dom, react-dom-server to external
- deps(react, react-dom): update version to v0.14.7
- chore(webpack.config.js): add build command
- deps(recharts-scale, react-smooth): update version of recharts-scale and react-smooth
- refactor(Bar, RadialBar, TreemapChart, Tooltip): rename the props customContent
- Add support of stack value in BarChart, AreaChart, ComposedChart
- Change name of the props in Tooltip, Legend
- Fix the bug of customized label element in CartesianAxis
- Remove repeated, meaningless constructor functions
- Refactor some components, include CartesianAxis, Legend, Tooltip etc, to unify some props name.