Hiding the legend in Google Chart

jamesatha picture jamesatha · Mar 5, 2011 · Viewed 94.1k times · Source

I am using the Google charts API. Is there a way to hide the legend for a scatter plot?

Answer

Trevor Pesout picture Trevor Pesout · Jan 30, 2012

You can disable the legend by using 'none' as the position:

legend: {position: 'none'}