Pocket Query google chart animation?

Is there a way to wrap entire template within ajax call in order to dynamically add or remove columns and rows, and to change values?

Examples:https://developers.google.com/chart/interactive/docs/animation

Regards

2 answers

1 accepted

This widget could not be displayed.

Hi Delisa,

Interesting scenario! Unfortunately this is not possible at the moment since there is no way to access the chart object with the PocketQuery JS API. But I will take this in regard for further development on the plugin. In the meantime, you could have a workaround with a time interval with setTimeout instead of using the events. Like this:

<script>
PocketQuery.chart(...);
setTimeout(function() {
  // do something
}, 2000); // do this in two seconds
</script>

This is only a workaround solution. I will implement a better way to achieve what you want in the future.

Regards, Felix [Scandio]

This widget could not be displayed.

Tnx. Felix

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

523 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you