Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #266 from RassaLibre/master
Browse files Browse the repository at this point in the history
param hoverAnimation fixed
  • Loading branch information
yang-wei committed Oct 1, 2015
2 parents 048935c + 02630f2 commit 1525e78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/linechart/DataSeries.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ module.exports = React.createClass({
interpolationType: React.PropTypes.string,
xAccessor: React.PropTypes.func,
yAccessor: React.PropTypes.func,
hoverAnimation: React.PropTypes.bool
},

getDefaultProps() {
return {
data: [],
xAccessor: (d) => d.x,
yAccessor: (d) => d.y,
interpolationType: 'linear'
interpolationType: 'linear',
hoverAnimation: false
};
},

Expand Down Expand Up @@ -90,6 +92,7 @@ module.exports = React.createClass({
key={idx}
circleFill={circleFill}
vnode={vnode}
hoverAnimation={props.hoverAnimation}
cx={cx} cy={cy}
circleRadius={props.circleRadius}
/>
Expand Down

0 comments on commit 1525e78

Please sign in to comment.