[Plugin Update: 2021] TechBlocks Charts and Graphs (Chart.js)

Hey @mcarreth – responding to this post of yours on the other thread:

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

You should be able to modify the data in the chart using buttons by using the add/remove series using workflows. For example, if you want to add a series (let’s call it Series A), you can set up a workflow to occur when a Button A is clicked. In that workflow, you can define the data in Series A using dynamic searches in your database.

Furthermore, if you want to update/modify the data in Series A, all you need to do is use the same workflow action and use the same series name (in this case, “Series A”) and update the data to what you need it to be.