- 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.