Remove vertical axis

24,529 views
Skip to first unread message

Luiz

unread,
Feb 19, 2012, 1:55:23 PM2/19/12
to Google Visualization API
Hi,

How do I remove the vertical axis of a bar chart?

Thanks.

ChartMan

unread,
Feb 20, 2012, 3:18:00 AM2/20/12
to google-visua...@googlegroups.com

Remove in what sense?
You can set its color to 'none' to hide it.

HTH
ChartMan

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Luiz

unread,
Feb 20, 2012, 9:53:46 PM2/20/12
to Google Visualization API
Hi ChartMan,

I want to remove the line inside the red circle:

http://2.bp.blogspot.com/-7rG6S0ZUFiU/T0MHDeQv47I/AAAAAAAAAhM/jIGZDs8VyOw/s400/2.jpg

Thanks.

On Feb 20, 6:18 am, ChartMan <chart...@google.com> wrote:
> Remove in what sense?
> You can set its color to 'none' to hide it.
>
> HTH
> ChartMan

ChartMan

unread,
Feb 20, 2012, 11:56:11 PM2/20/12
to google-visua...@googlegroups.com
Thanks for the screenshot.

you can remove the baseline by using this option
hAxis{baselineColor'none'} 

You would still see the underlying gridlines. To remove them you can set their count to zero or the their color to 'none'
hAxis{baselineColor'none'gridlines{color'none'}}

natarajan govindavel

unread,
Mar 7, 2016, 8:28:33 AM3/7/16
to Google Visualization API, char...@google.com
it doesn't work on material chart.

> > For more options, visit this group at
> >http://groups.google.com/group/google-visualization-api?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.

Justin Ward

unread,
Jun 14, 2019, 3:54:42 PM6/14/19
to Google Visualization API
I set the text color to white (or whatever the background is). It isn't technically gone, and somebody with access could easily change the color back, but it won't show up during presentations.
Reply all
Reply to author
Forward
0 new messages