Advanced Render in VP not Refeshing

If you think that something doesn't work in Aware IM post your message here
Post Reply
customaware
Posts: 2401
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Advanced Render in VP not Refeshing

Post by customaware »

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.87 KiB) Downloaded 499 times
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Advanced Render in VP not Refeshing

Post by tford »

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.
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply