Chartjs-ChartJs tooltip height option doesn't work

0👍

There is no configuration naming ‘height’ for tooltips, so it will not work.

tooltips: {
    height:10
}

Instead, you can use bodyFontSize, the height of the tooltip will be altered based on the value you assign to it.

tooltips: {
   bodyFontSize:15
}

And use position and mode options to change the postion of the tooltips.

Leave a comment