Splunk Enterprise

How to fix splunkjs.UI. charting undefined?

praveen_santhos
New Member

Was working on Splunk Enterprise SDK for Javascript and used the splunkjs.UI.Charting.Chart class to create a chart and embed it in the web page. But it throwed an error "cannot  access property of undefined; accessing Chart". Is there any way to solve it. Thanks in advance for the help. I have attached the error screenshots and the code block.splunkerror.pngsplunkerror2.pngsplunkchart.png 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...