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 https://frappe.io/charts

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

edit: Here’s more background https://medium.com/frappé-thoughts/writing-the-docs-dabccd97c464

more pointers: This repos https://github.com/frappe/charts-playground 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()),