Skip to content

Commit

Permalink
Compiled assets for PR #195
Browse files Browse the repository at this point in the history
Update node packages
  • Loading branch information
MusikAnimal committed Aug 29, 2018
1 parent 24edd86 commit f4d4bea
Show file tree
Hide file tree
Showing 12 changed files with 613 additions and 1,069 deletions.
2 changes: 1 addition & 1 deletion javascripts/shared/chart_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ const ChartHelpers = superclass => class extends superclass {
ctx.fillStyle = `rgba(68,68,68,${step})`;
const scaleMax = dataset._meta[Object.keys(dataset._meta)[0]].data[index]._yScale.maxHeight;
const yPos = (scaleMax - bar._model.y) / scaleMax >= 0.93 ? bar._model.y + 5 : bar._model.y - 10;
ctx.fillText(dataset.data[index].toLocaleString(), bar._model.x, yPos);
ctx.fillText(this.n(dataset.data[index]), bar._model.x, yPos);
}), context);
}), context);
};
Expand Down
Loading

0 comments on commit f4d4bea

Please sign in to comment.