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

Commit

Permalink
Merge branch 'master' of github.com:jhudson8/react-chartjs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudson8 committed Mar 20, 2015
2 parents 03ed88e + 24bfcd4 commit c7449c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var dataKeys = {
var updatePoints = function(nextProps, chart) {
var name = chart.name;

if (name === 'PolarArea' || name === 'Pie') {
if (name === 'PolarArea' || name === 'Pie' || name === 'Doughnut') {
nextProps.data.forEach(function(segment, segmentIndex) {
chart.segments[segmentIndex].value = segment.value;
});
Expand Down

0 comments on commit c7449c1

Please sign in to comment.