Permalink
Browse files

Use custom version of Chart.js to fix label overlap

  • Loading branch information...
1 parent e3dbe33 commit 8da08779875d215cbfceb204a9f4ffdf7a0b96e7 @ankane committed Sep 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/assets/javascripts/Chart.bundle.js
@@ -14609,7 +14609,7 @@ module.exports = function(Chart) {
if (me.options.time.max) {
me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.ticks[0], me.tickUnit, true);
- } else {
+ } else if (me.scaleSizeInUnits === 0) {
me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
}

0 comments on commit 8da0877

Please sign in to comment.