Chartjs-How to make data always visible on bars Chart.js

1👍

You need to make a couple of minor changes (value instead of data and bars instead of segments)

...
tooltipTemplate: "<%= value %>",
onAnimationComplete: function () {
    this.showTooltip(this.datasets[0].bars);
},
...

assuming you have only one series.


Fiddle – http://jsfiddle.net/s4pudkz8/


enter image description here

Leave a comment