score:0

your align properties were messing things up. give this a try:

https://jsfiddle.net/m7s43hrs/2951/

score:4

you are using 2.5.0, which has bug. update to latest 2.8.0, its working fine already. https://jsfiddle.net/zhuhang95/utc9wenx/4/

usually, using titlealign and bodyalign should do the trick.

chart.js docs: https://www.chartjs.org/docs/latest/configuration/tooltip.html#alignment

        options: {
            tooltips: {
                titlealign: 'center',
                bodyalign: 'center'
            }
        }

Related Query

More Query from same tag