How to change Year to Month on Heatmap chart

I want to change employee heatmap chart Year to Month. How can i do this?

R&D more and more

Welcome to ERPNext -

To start these docs should help, check the #### A Month-wise Heatmap example Products | Frappe

To post a screenshot would add context to what you refer to?

edit: Here’s more background Writing the Docs. Venturing beyond the README | by Prateeksha Singh | Frappe Thoughts | Medium

more pointers: This repos GitHub - frappe/charts-playground: Playground from Frappe Charts with this demo https://playground.shivam.dev/

I want to display this dashboard attendance only one month last 30 days attendance show.

In file
apps/frappe/frappe/desk/page/activity/activity.js and apps/frappe/frappe/public/js/frappe/form/dashboard.js
erpnext/hr/doctype/employee/employee_dashboard.py (This is specific to Employee)

you can change the duration of Heatmap render, by default it show one year back from current date, you can chaneg to one month back from current date.

start: new Date(moment().subtract(1, ‘year’).toDate()),