Forum Discussion
KatieTrudeau-c6
3 years agoCommunity Member
Interactive pie chart??
Hello!
I'm making a time management calculator based on a template from E-Learning Heroes. But I need to update the pie chart (web object) with new labels.
You can see what I've started: https:/...
WaltHamilton
3 years agoSuper Hero
There is a sample that fills a pie chart according to user-entered values at this discussion:
I think it may be easier to use than writing js. The calculations are done by adding together the four (easy enough to add another) entries, and finding what the individual percentage is. The early triggers are the ones that you need for the calculation. If you want the raw numbers, or percentages, use a reference to show the appropriate variable. I triggered it when the learner clicks. You can make it update automatically when the variables change, but I think that may slow down its responsiveness.
- KatieTrudeau-c63 years agoCommunity Member
Thank you so much, Walt!
You saved the day! Much appreciated!