There is an xPadding property in tooltip configuration in Chart.js. It adds padding both on the left and the right of tooltip. How can I add padding only on the right?
I use react-chartjs-2 and have the following JSX code:
<Bar data={data} width={1000} height={500} options={{ layout: { padding: 20 }}} />