Hiding the Pie charts is not possible, we cannot change the UI of MTM it is designed to show the charts. These charts are added to give us an overview of the reason for test failure and analysis of failure.
It's a general practice to use batch file scripts as setup and clean script in Test Manager.