martynasma
Forum Replies Created
-
Forum: Plugins
In reply to: [amCharts: Charts and Maps] How to setup Sunburst chart?Forum: Plugins
In reply to: [amCharts: Charts and Maps] light.js enqueue issueI cannot seem to be able to reproduce this.
Could you try temporarily switching to other theme and/or disabling plugins one by one to potentially pinpoint which one is conflicting?
Forum: Plugins
In reply to: [amCharts: Charts and Maps] amCharts – Apply License in PluginThanks! ??
Forum: Plugins
In reply to: [amCharts: Charts and Maps] amCharts – Apply License in PluginWell, indeed, adding a license via WP admin UI would be nice. Though, it would still add that code to the final code, so if your concern is revealing it, it would not solve the issue.
I’d say you should not be worried about this ??
Forum: Plugins
In reply to: [amCharts: Charts and Maps] amCharts – Apply License in PluginI don’t think you should be worried about adding the license code. It does not expose any private details, nor can it be used to access anything.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showing after publishOK, it seems that you have some sort of plugin that makes amCharts libs load after actual chart code.
In your chart code, try replacing this:
am4core.ready(function() {
With this:
jQuery.ready(function() {
- This reply was modified 4 years, 11 months ago by martynasma.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showing after publishThe error is coming from something else. Not amCharts block.
Uncaught SyntaxError: Unexpected token '&'
You’ll need to fix that.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showing after publishLook at your browser console. It contains some JS error that is not related to amCharts. Since it is a critical JS error it halts all further JS execution.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showing after publishIs
core.js
in your Resources box?Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showing after publishDo you get any errors in browser console?
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Map not showingDo you get any errors in browser console?
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Is it possible to create Amcharts via wp APInonce is used to prevent resubmission of forms. It should not be relevant if you are creating WP posts directly.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Is it possible to create Amcharts via wp APISince WP API allows creating any post type, you can create charts as well.
However, you would need to reverse-engineer either plugin code or existing DB records, in order to know how to populate those posts.
I’m afraid we do not offer any specialized amCharts-specific API.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Adding a custom mapYou can upload your custom map anywhere in your web server. Then add URL to it in amCharts plugin settings:
WP admin > Settings > Charts & Maps
For example if you upload file
myCustomMap.js
to directory\maps\
on your web server, you would add something like this in “Custom Resources” box:\maps\myCustomMap.js
After that it will become available in Resources dropdown.
Hope this helps.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Pie chart not displayingYou have a JavaScript error originating from somewhere else (something about “grecaptcha”). You can see it if you open browser’s console (F12).
Once it happens, all further JavaScript execution stops, including chart.
You’ll need to figure the cause of the error and get rid of it before you can display charts, or any other JS-generated content for that matter.