[New Plugin] Simple Charts

Hi Alex.
Excellent plugin, I hope you can help me. I am trying to modify the data shown in the chart but through buttons.

The way I see it, I would like to see buttons by date range above the graph.

For example, I would like to see only 4 years of the graph (which I still cannot do, I hope you can help me with that as well) and that the user when pressing a button that says historical, he presses it and the graph will show the historical data

I’m not really sure if I can explain well I attached a screenshot from another site where this exists.

I apologize for my English, it is not my native language
Screenshot 2021-06-07 040403