Since the data query is SQL-esque, you have to select which columns to 
pull, and aside from querying the table to find out which columns are null, 
there isn't any way to select only the columns which contain data.  Is 
there a reason to put the data in that format specifically?  If you pivot 
the table so that you have 3 columns (date, LiquidEarth 1x, LiquidEarth 
2x), you can select those 3 columns where date is not null, which will get 
you the data you need.

On Thursday, March 7, 2013 2:35:06 PM UTC-5, [email protected] 
wrote:
>
> I created a simple table in Google with data that updates dynamically 
> every month. The issue is that in order to include the new data in the 
> table I have to change the table range manually to fit the new data. When I 
> select the entire row as the range the table includes the null values as 
> well. How do I force the table to ignore the null values while still 
> keeping the range as the entire row so that data will automatically be 
> inserted into the chart? Below is the code I used for the chart:
>
> <script type="text/javascript" src="//
> ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js"> 
> {"dataSourceUrl":"//
> docs.google.com/spreadsheet/tq?key=0AgS7ggl5lZGHdGRWbE16Zno1bE1scnFuaVpWeWFDWEE&transpose=0&headers=1&range=A9%3AAL11&gid=0&pub=1","options":{"titleTextStyle":{"fontSize":16},"vAxes":[{"useFormatFromData":true,"title":"Left
>  
> vertical axis 
> title","minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null},{"useFormatFromData":true,"minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null}],"booleanRole":"certainty","title":"Chart
>  
> title","height":110,"showRowNumber":false,"animation":{"duration":500},"page":"disable","width":900,"hAxis":{"useFormatFromData":true,"title":"Horizontal
>  
> axis 
> title","minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null}},"state":{},"view":{},"chartType":"Table","chartName":"Chart
>  
> 11"} </script>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to