I am trying to create a chart on my php page utilising ApexCharts.
The following code works when residing on my main.js file:
var options = {