Update chart (doughnut) display options by pressing a button | XM Community
Question

Update chart (doughnut) display options by pressing a button


Hello,
My participants get to see a doughnut with nine slices, generated using the chart.js library in JavaScript. I would like them to be able to press a custom button which, based on a randomly generated integer between 1-9, would put a black border around the slice corresponding to that random number.
Thanks in advance!


0 replies

Be the first to reply!

Leave a Reply