Issues in creating Dashboard

Hello Guys
I want to create a dashboard just like Sales Invoice for my custom doctype…


I have duplicate sales_invoice_dashboard,py file with my custome doctype_dashboard.py file
but its not working… Can anyone guide me how to implement it and please share some code to do that…
Any help will be great help
Thankyou