Re: [visualization-api] Table width not properly formatting if hidden while drawing

2015-05-28 Thread 'Daniel LaLiberte' via Google Visualization API
Dylan, Generally, we advise that you should delay drawing until the container is displayed. I believe jQuery tabs provide a way to do that. But if your container has a fixed size, then for the table chart, it may be possible to draw the table correctly even if the container is not displayed.

Re: [visualization-api] Table width not properly formatting if hidden while drawing

2015-05-28 Thread Dylan Manitta
Thank you for the reply, unfortunately I don't have a page available to the public to display this. I will try delaying it with jQuery first then, I can't see why that wouldn't work. On Thursday, May 28, 2015 at 1:24:29 PM UTC-4, Daniel LaLiberte wrote: Dylan, Generally, we advise that you

[visualization-api] Running this charts without internet?

2015-05-28 Thread nag somayaji
Can we run this charts without internet? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To

Re: [visualization-api] Re: Google areachart adding gridlines or ticks on haxis

2015-05-28 Thread Mark
Thanks for your reply Daniel! But this isn't working either. Getting Type mismatch. Value -1,0,0 does not match type timeofday If I change it to 0, 0, 0 it works but I still dont get a continuous line till 23:00 with viewWindow or ticks. Is there a way to combine two similar queries with

[visualization-api] Google Line chart not rendering data received in Ajax response

2015-05-28 Thread Pankaj Goud
Below is my code snippet. Please help html head script type=text/javascript src=//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js/script script type=text/javascript src=https://www.google.com/jsapi;/script script type=text/javascript google.load('visualization', '1.1',

Re: [visualization-api] Re: Google areachart adding gridlines or ticks on haxis

2015-05-28 Thread Mark
Thanks a lot Daniel! This work just fine! :) On Thursday, May 28, 2015 at 2:36:31 PM UTC+2, Daniel LaLiberte wrote: I made a mistake in the return value of the calc function. It should be just return [parseInt(hour), 0, 0]; To extend the axis beyond your data, you need to also add the

Re: [visualization-api] Re: Google areachart adding gridlines or ticks on haxis

2015-05-28 Thread 'Daniel LaLiberte' via Google Visualization API
I made a mistake in the return value of the calc function. It should be just return [parseInt(hour), 0, 0]; To extend the axis beyond your data, you need to also add the viewWindow.max option I suggested previously. hAxis: { viewWindow: { max: [24, 0, 0] } On Thu, May 28, 2015 at 4:59 AM, Mark

Re: [visualization-api] Running this charts without internet?

2015-05-28 Thread 'Jon Orwant' via Google Visualization API
Hi Nag, Google Charts is a JavaScript library loaded over the network. So unfortunately, browsers need an Internet connection to view them. Jon On Thu, May 28, 2015 at 2:36 AM, nag somayaji nagsomay...@gmail.com wrote: Can we run this charts without internet? -- You received this message

Re: [visualization-api] Google Line chart not rendering data received in Ajax response

2015-05-28 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Pankaj, It's a little difficult to figure out what's wrong just from the code you posted, but it seems like the issue might be that your response is a string, instead of an array. If this is the case, you need to parse it. This could be done using eval(), but this is strongly recommended

[visualization-api] Table width not properly formatting if hidden while drawing

2015-05-28 Thread Dylan Manitta
Hi, I am building tables with the API, and they work correctly under normal conditions. But, since I am using jQuery Tabs, some of the tables are drawn and rendered while not being displayed. When this happens I noticed that the table itself does not bound itself to the width supplied. It