By default, chart level scripting is disabled in apps. You can turn it on in app settings.
Do the following:
Turn on Chart scripting.
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!