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
Accepted answer

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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,343 views 0 8
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