Dashboard Charts Using Frappe Report

I have a report containing all the required data to create a dashboard chart and number card.
I’m able to create a number card from the report but not able to create the chart.
how can I do this?