I am using the Google charts API. Is there a way to hide the legend for a scatter plot?
Javascript – Hiding the legend in Google Chart
google-visualizationjavascript
Related Topic
- Javascript – How to copy to the clipboard in JavaScript
- Javascript – How to check whether a checkbox is checked in jQuery
- Javascript – What does “use strict” do in JavaScript, and what is the reasoning behind it
- Javascript – How to check whether a string contains a substring in JavaScript
- Javascript – Why does Google prepend while(1); to their JSON responses
- Javascript – How to remove a specific item from an array
- Javascript – Why does the JavaScript code receive a “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” error, while Postman does not
Best Answer
You can disable the legend by using 'none' as the position:
legend: {position: 'none'}