Update: Okay. The issue with the table custom label not showing from the
spreadsheet query was solved by just manually increasing the style width in
div. Simple enough.
On Tuesday, February 23, 2016 at 10:58:42 AM UTC-5, Jason wrote:
>
> Hi!!
>
> So I have been trying to get a table chart with a custom column name/label
> to appear. When I use the label function in the query for a spreadsheet it
> works fine, but does not work as part of the Visualization API. I tried to
> create a separate query in a spreadsheet with custom labels to query
> against the Visualization API but then get no column names at all. Does
> anyone know how to solve this? It is only a 2 row, 2 column table (eg 2
> column names, 2 cells of numbers).
>
> Additionally I would like to eliminate the extra space on the right side
> of a line chart, with NO legend. I tried messing with the chartArea option
> by pushing the chartarea to the left then increasing the chartarea width
> but it just messes it up. Here is a list of my options that work but
> produce a large blank space at the right end of the chart.
>
> var options = {
> title: 'Line Chart, January 2016',
> legend: { position: 'none' },
> width: 1000,
> hAxis: {
> title: 'Date',
> format: 'M/d/yy',
> textStyle: {fontSize: 10},
> gridlines: {count: 31}
> },
> vAxis: {
> title: 'Sales'
> }
>
> };
>
> Thanks for any help you can provide!
>
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/37605408-0696-41be-9ce2-db7ad8cfef77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.