How do I filter User Specific data in the widget?

I want the user to see only the graph of the data belonging to him, but I am not sure how to do it.

For example, I need to filter according to the customer_id in the Orders model.
Screenshot_238.png
Was this page helpful?