Month by month graph

I want to have a month-by-month graph of what I spend per month on electricity, I already have one day by day, someone gives me the code of what it would be like with apexcharts, I consulted the AI ​​but I still can’t do what I want

Have you tried the Home Assistant energy dashboard?

Yes I want the same but with apexchat. can?

Why does it have to be Apexchats when you already have it from the core?