Chartjs-How do I manipulate a specific tooltip value of a Chart.js pie chart?

0👍

in the end, it could be accessed as such:

        tooltips: {
            mode: 'label',
            callbacks: {
                         const currentValue = dataset.data[tooltipItem.index];
                         return currentValue.fileSize();
                }
            }
        }

Leave a comment