Amcharts 4 datasource.url
-
I have a map created in Amcharts4 that I want to put into a WordPress page using the Amcharts WordPress adapter. I am using dynamic data from a php page to fill the data for polygon series.
worldSeries.datasource.url = “/data_adapters/JMA_data.php?O=CMI”;
worldSeries.dataSource.parser = new am4core.JSONParser();
worldSeries.dataSource.Load();/data_adapters/JMA_data.php does a database query and echos a json string.
I can call it from the server using the url: https://yorkriteconference.org/amcharts_4d/index_T2_dev.html and it works fine.
When I put the javascript into the adapter, the data cannot load.
Any help would be greatly appreciated!
Rod Wagoner
Tucson, AZThe page I need help with: [log in to see the link]
- The topic ‘Amcharts 4 datasource.url’ is closed to new replies.