Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-24 Thread Sheng Yi Lee
Thanks Daniel - all working now! On Wednesday, May 25, 2016 at 1:09:42 AM UTC+10, Daniel LaLiberte wrote: > > Hi Sheng, > > You need to rename your second handleQueryResponse function, since it > otherwise replaces your first definition. Otherwise looks fine. > > On Tue, May 24, 2016 at 2:38 AM,

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-24 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Sheng, You need to rename your second handleQueryResponse function, since it otherwise replaces your first definition. Otherwise looks fine. On Tue, May 24, 2016 at 2:38 AM, Sheng Yi Lee wrote: > Hi Daniel, > > I'm having the same problem as Tyler - I can't seem to load multiple > charts se

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-23 Thread Sheng Yi Lee
Hi Daniel, I'm having the same problem as Tyler - I can't seem to load multiple charts separately, they appear to be overlapping each other. This is the code I'm using: https://www.gstatic.com/charts/loader.js";> google.charts.load('43', {packages: ['corechart']}); google.charts.setOnLo

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread 'Daniel LaLiberte' via Google Visualization API
Only call google.charts.load() one time. You don't need it more than once anyway if you are loading the same package every time. On Thu, May 19, 2016 at 5:54 PM, Tyler Gerow wrote: > Your the man Daniel! It worked after changing the package to corechart as > well..!! Thanks so much for the he

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread Tyler Gerow
Your the man Daniel! It worked after changing the package to corechart as well..!! Thanks so much for the help! but now I am having the problem of loading multiple charts. On Thursday, May 19, 2016 at 11:35:50 AM UTC-10, Daniel LaLiberte wrote: > > The material charts will not support animati

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread 'Daniel LaLiberte' via Google Visualization API
The material charts will not support animation. The non-material classic charts are everything else. So use google.visualization.ColumnChart instead. You'll have no problem with multiple charts in the same page also. If you want the material colors and fonts in the classic charts, you can try a

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread Tyler Gerow
I replaced the 42. still no animation.. Where do I find the documentation for the classic charts? On Thursday, May 19, 2016 at 11:26:54 AM UTC-10, Daniel LaLiberte wrote: > > You are using the material Bar chart. You left out the call of > google.charts.Bar(), but I see you are loading the 'ba

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread 'Daniel LaLiberte' via Google Visualization API
You are using the material Bar chart. You left out the call of google.charts.Bar(), but I see you are loading the 'bar' package. Since you are using the gstatic loader, I thought we had fixed this problem for 'current', but perhaps there is still a problem. Could you replace 'current' with '42'

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread Tyler Gerow
Thanks so much Daniel... currently this is the data code I am inputing. Is this material chart coding? google.charts.load('current', {'packages':['bar']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.arrayToDataTabl

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread Tyler Gerow
I'm using the gstatic loader as well I believe. > src="https://www.gstatic.com/charts/loader.js";> > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubs

Re: [visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Tyler, I would guess you are using material charts, which don't support animation yet. If you really want animation, use the classic charts. The material charts also have had problems with multiple charts on the same page. Use the new gstatic loader with the more recent versions of the code

[visualization-api] Google Charts Animation and multiple charts on single page

2016-05-19 Thread Tyler Gerow
I'm literally having some serious issues with Google charts right now... First of all I can't get the animation function to work properly. Currently with coding that looks like this: var options = { 'title': 'Profits', 'animation':{ duration: 4000, easing: 'out',

Re: [visualization-api] Google Charts animation

2014-10-16 Thread Pavel Volgarev
Hi Daniel, Yes, you're absolutely right regarding the axis - I forgot to mention this (as I said, we did experiment with this approach and found it not very suitable to our needs). It's good to hear that you guys are planning to continue investing in that direction, although we kind of need tha

Re: [visualization-api] Google Charts animation

2014-10-16 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Pavel, We plan on supporting a variety of startup animations at some point. The current code base has a number of issues that limit our choices, but we may be able to add at least one form of the startup animation. One complication, if you want to try doing this yourself, is that if you displ

Re: [visualization-api] Google Charts animation

2014-10-15 Thread Pavel Volgarev
Hi Daniel, Tim's colleague is here. What we're ultimately looking for is a way to have a nice start-up animation, like in Chart.js (http://www.chartjs.org/). Google Visualization API does have transition animations but they haven't been working that well for us for a couple of reasons: - It

Re: [visualization-api] Google Charts animation

2014-10-15 Thread Tim Voronov
Hi Daniel, for my current purposes I need '*easeOutBounce*'. But if you are saying it's not hard to add, so it would be great if there were some of these functions : http://easings.net On Tuesday, October 14, 2014 5:26:18 PM UTC+2, Daniel LaLiberte wrote: > > Hi Tim, > > We don't support any ot

Re: [visualization-api] Google Charts animation

2014-10-14 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Tim, We don't support any other easing functions at this time, though it wouldn't be hard to add more. Which ones would you find most useful or essential? Or do you need a custom function? On Tue, Oct 14, 2014 at 11:10 AM, Tim Voronov wrote: > Hi there, > > does anybody know whether it’s p

[visualization-api] Google Charts animation

2014-10-14 Thread Tim Voronov
Hi there, does anybody know whether it’s possible to add extra easing functions to Google Charts? Officially they support only: - 'linear' - 'in' - 'out' - 'inAndOut' It’s obviously not enough and in my case I need completely different one. Any ideas? -- You received this message because yo

[visualization-api] Google Charts - animation transition example

2012-04-22 Thread solobos
Take a looka t my JS below, for my drawChart function for a google chart. This works as I expected. HOWEVER, because var chart ... is inside the drawChart function, the animations do not work - instead google thinks it's creating a brand new chart each time, and just refreshes the chart. I