Documentation Is:
In chartjs<3.0.0 , while creating custom tooltips ,tooltipmodal.xPaddingand tooltipmodal.yPadding used to work.
Now I am using chartjs 3.1.1 and the values of tooltipmodal.xPaddingand tooltipmodal.yPadding are undefined.
I checked the documentation here, padding options are missing in tooltipmodal, but these are being used in the example here.