martynasma
Forum Replies Created
-
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Two charts not showingYou seem to have a lot of same variables. There’s probably some overlapping conflict.
You can either try naming variables differently, or isolate charts into functions:
Well then adapter approach you have above is the way to go, except you may be need to refer to the category better, e.g.
target.dataItem.categoryX
E.g.:
series.columns.template.propertyFields.fill = "color"
You can use
propertyFields
on series for that in amCharts 4:https://www.amcharts.com/docs/v4/concepts/data/#Property_fields
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Revision SupportThanks, Seb.
I’m afraid we do not plan on adding WP revision support. Sorry ??
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Add data to chart from custom post types metadataYou can do in your chart code something like this:
"dataProvider": AmCharts.wpChartData.score
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Remove Scroll function MapsPlease refer to this tutorial:
https://www.amcharts.com/docs/v4/tutorials/disabling-zoom-and-pan-on-a-map-chart/Forum: Plugins
In reply to: [amCharts: Charts and Maps] Add data to chart from custom post types metadataSomething like this:
function apply_amcharts_shortcode_data( $output, $atts ) { // Load your data here // ... // Add to the output $output['score'] = ... your loaded data here ... return $output; } add_filter( 'amcharts_shortcode_data', 'apply_amcharts_shortcode_data' );
In JS it will be accessible as
AmCharts.wpChartData.score
.Forum: Plugins
In reply to: [amCharts: Charts and Maps] Add data to chart from custom post types metadataI don’t think you can just insert a PHP variable into a shortcode like that.
I suppose you may need to add a filter to populate shortcode data dynamically using your code.
Yes, it’s possible. This is is however amCharts-related issue and a bit out of scope of this WP forum. Please contact amCharts support channels for this.
No, I’m afraid. We do not support connection to Google Sheets.
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Make Amcharts work in WordPress tabsThe tabs in that example work fine. Do you have something that doesn’t work?
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Make Amcharts work in WordPress tabsI’m sorry but it’s too much guesswork of what’s going on without seeing your actual setup. Can you share a link?
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Animate the chart handValue is the first parameter of
showValue()
:hand.showValue(data.score, 1000);
Forum: Plugins
In reply to: [amCharts: Charts and Maps] Add Persian DateamCharts does not support Persian dates. Sorry.