Skip to content

Commit

Permalink
Use custom version of Chart.js to fix label overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 11, 2016
1 parent e3dbe33 commit 8da0877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/Chart.bundle.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14609,7 +14609,7 @@ module.exports = function(Chart) {
if (me.options.time.max) { if (me.options.time.max) {
me.ticks.push(me.lastTick.clone()); me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.ticks[0], me.tickUnit, true); me.scaleSizeInUnits = me.lastTick.diff(me.ticks[0], me.tickUnit, true);
} else { } else if (me.scaleSizeInUnits === 0) {
me.ticks.push(me.lastTick.clone()); me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true); me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
} }
Expand Down

0 comments on commit 8da0877

Please sign in to comment.