Highcharts is Not Defined
Application Type

Hi All i am adding Highcharts directly to one of screen in reactive web app where i got that error "Highcharts are not defined" i want to add script directly without charts in OS.

This is the script that i want to add on screen for rendering Highcharts. Here i am created a event OnInitiaize in that event am add javascript with the script.

Here i am ading javascript onReady Event

Here Is My CSS For Highcharts in OnReady Event.

Here my javascript and css appear in head section.



Hi Apoorv,

I didn't try the mentioned implementation. But based on the error, it clearly states that the Highcharts global object is not yet available during the OnReady JS initialization script got executed (it might be caused bcz of the delay in loading the referenced external JS library). So instead, I would suggest you use the RequireScript client action from Systems Module in the OnInitialize client action of the screen to load the required external JS.

See this demo screen: PieChartDemo

Refer to the attached .oml file

I hope this helps you!

Kind regards,

Benjith Sam


Thankyou Benjith Sam It Works ;)


You're welcome, Apoorv,

Glad to help you :)

Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.