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

1 vote
Answer 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]

Tnx. Felix

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page

                                                      &nbsp...

125 views 0 3
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