amCharts in popup
-
Can you please provide some guidance for putting an amChart (using the amCharts WP plugin) into a popup? I’m using the Easy FancyBox plugin (inline content) right now, but I will probably be switching to PopUpPress or WP Popup Magic.
I have a chart that’s working fine when I put the shortcode directly in the blog post. However, I’ve tried several different ways of putting the same chart in an Easy FancyBox popup to no avail.
The reason why I’d like to do this is because some of my charts will require much more screen real estate than what is available in a post. So, I’ll probably show the chart in the post and then give users an option to view a larger version of the chart in a popup.
I suspect this has something to with the resizing problem discussed in this post: https://www.amcharts.com/tutorials/displaying-charts-in-tabs-or-other-dynamic-page-elements/. However, being a relative beginner, I can’t figure out how to properly implement the InvalidateSize method in the context of WordPress.
- The topic ‘amCharts in popup’ is closed to new replies.