[Chartjs]-How to make ChartJS not cut off tooltips?

2👍

Since you are using the legacy Chart.js v1.x, you don’t have as many possibilities as in the v2.x.

One simple way to fix your problem is to edit the style of your tooltips in your options. This won’t change your default 95px of height and width for your chart :

    var doughnutOptions = {
        // ...
        fullWidth: true,
        tooltipFontSize: 10
    };

And will give this result.

Leave a comment