Hi there,
I’m trying to create a button that when clicked, triggers a parameter function which at the end of this said function, calls the create_pie_chart(param1, param2, param3, param4). These parameters are created during the original function. I have a <div> tag where I try to render the chart to, but on clicking the button, the blank space on the webpage for the graph remains blank (though the 4 parameters are correctly found, as I print them out on the page as a test). If anyone has any ideas on why my chart isn’t rendering, i’d love to hear them. My code is attached as a JSFiddle. https://jsfiddle.net/thpk8fc6/
Thanks.