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

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]

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

361 views 0 6
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