Skip to content

Commit

Permalink
Canvas width/height is not as per W3C standards
Browse files Browse the repository at this point in the history
fixes #10
  • Loading branch information
gor181 committed Aug 6, 2016
1 parent 679c22e commit 092ca5e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/react-chartjs-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ var ChartComponent = _react2['default'].createClass({
position: 'bottom'
},
type: 'doughnut',
height: 200,
width: 200,
height: 150,
width: 300,
redraw: false
};
},
Expand Down
2 changes: 1 addition & 1 deletion dist/react-chartjs-2.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ var ChartComponent = _react2['default'].createClass({
position: 'bottom'
},
type: 'doughnut',
height: 200,
width: 200,
height: 150,
width: 300,
redraw: false
};
},
Expand Down
4 changes: 2 additions & 2 deletions src/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const ChartComponent = React.createClass({
position: 'bottom'
},
type: 'doughnut',
height: 200,
width: 200,
height: 150,
width: 300,
redraw: false,
};
},
Expand Down

0 comments on commit 092ca5e

Please sign in to comment.