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?
Advanced Render in VP not Refeshing
-
- Posts: 2401
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Advanced Render in VP not Refeshing
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: Advanced Render in VP not Refeshing
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