title: Hide legend label on AmChart4
body: <p>I am using amchart line graph.</p>
  
  <p>I want to hide amchart legend label on the graph.</p>
  
  <p>I struggled to find out that there are items related to <code>labels</code></p>
  
  <pre><code>console.log(chart.legend.labels.values);
  console.log(chart.legend.labels.values.length)// somehow 0....
  
    for (key in this.chart.legend.labels.values){ // it doesn't loop...
      this.chart.legend.labels.values[key].hide();
    }
  </code></pre>
  
  <p>How can I hide the legend labels??</p>
  
  <p><a href="https://i.stack.imgur.com/F2VUn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F2VUn.png" alt="enter image description here"></a></p>