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

Commit

Permalink
Update x-labels without full redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhayes committed Apr 25, 2015
1 parent 5d9a2eb commit 30e77c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ node_modules
.DS_Store
showcase
.generator-release

.idea/*
1 change: 1 addition & 0 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
} else {
dataKey = dataKey || dataKeys[chart.name];
updatePoints(nextProps, chart, dataKey);
chart.scale.xLabels = nextProps.data.labels;
chart.update();
}
};
Expand Down

0 comments on commit 30e77c8

Please sign in to comment.