Changing chart type by script

I am working through the scripting sample to change the chart type by script (https://www.dundas.com/support/developer/script-library/controls/chart/changing-a-chart-type)

And am having trouble implementing it.

I have the script as a selection change on a drop down list and the script is valid. Does dundas have an environment where I can step through the code or trouble shoot it?

Thanks.

Hello Chris,

There is the sandbox environment, accessible through https://learning.dundas.com. From there, you’ll be able to create a Dashboard, implement the script, and use the Developer Tools found in your browser to step through the code.

Thanks,
Mark