Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to hide a legend #37

Open
GoogleCodeExporter opened this issue Jun 1, 2015 · 1 comment
Open

There is no way to hide a legend #37

GoogleCodeExporter opened this issue Jun 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I cannot find a way to hide a legend. This option should be there. Google API 
can do it by removing chdl parameter.

Original issue reported on code.google.com by Josef.S...@gmail.com on 15 Mar 2011 at 8:57

@GoogleCodeExporter
Copy link
Author

I found it but it is counter intuitive and impossible to find without good 
documentation.

One must not run the function setLegend(). When run with null, it ends in a 
crash as it expects array, with empty array it displays color boxes for legend. 
So the only way to not display a legend is to never run setLegend() method.

Original comment by Josef.S...@gmail.com on 15 Mar 2011 at 9:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant