Pocket Query google chart animation?

delisa simonovic January 15, 2015

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
Felix Grund (Scandio)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2015

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]

0 votes
delisa simonovic January 16, 2015

Tnx. Felix

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events