How can I remove legends?

How can i remove the legend in spectral view? It takes more space than graph!!! thanks
legend

That’s currently not possible. But it has been asked earlier and we have it in our issue tracker (SNAP-741)

It may be better to do this in a GIS. More options and much more flexible while trying to create a story out of your findings.