Link Pivot Table to Chart

I want to show a pivot chart linked to the pivot table - so that the chart changes at the same time the table changes

I have found this approach from a few years ago https://forum.webix.com/discussion/4490/link-pivot-table-to-pivot-chart

Is that still the best approach or has some else been developed since then?

Thank you in advance for any suggestions

Hello, @BenR

Currently, that is the approach for syncing data in pivot table and pivot chart that is known to us.
The snippet is here: Code Snippet