Attached is a small demo that renders a d3 Donut chart in a VP.

Instructions:

  1. Import the bsv
  2. Place the two .js files in AwareIM/Custom/JS

Run the app.

When it opens it will have created a number of People Records in the Grid to the left.

In Theory... what should happen is that is a Person is added or deleted from the Grid, then the Donut chart should be refreshed.
I have the refresh triggers set to, People, RegularUser (the totals of Male and Female are stored and updated in there ) and the Process that Updates the Totals.

No go...

Can anyone suggest a way to force the Donut Chart Panel to refresh please?

d3pie.zip
106.87kB

I don't have experience w/ refreshing panels with Custom JS, but I know that refreshing a panel with a built-in chart works with the auto-refresh criteria that you described.