Pivot Table 1: Center The Pivot Inside The Dashboard Widget
Updated 03-02-2023
If you are looking for this for Pivot Table 2 change the lines with getElementsByClassName('p-container')
such as
$('[widgetid="'+ widget.oid + '"]').find(document.getElementsByClassName('p-container')).css('margin-left', '25%') .css('margin-top', '10%')
to use pivot-container
$('[widgetid="'+ widget.oid + '"]').find(document.getElementsByClassName('pivot-container')).css('margin-left', '25%') .css('margin-top', '10%')