title: how to add Legends in bar charts amcharts?
body: <p>I'm using bar chart(amcharts) in my application and i need to include Legends for that bar charts. so, i added the following scripts for bar script, </p>
  
  <pre><code>legend = new AmCharts.AmLegend();
  legend.position = "bottom";
  legend.align = "center";
  legend.markerType = "square";
  legend.valueText = "";
  chartx.addLegend(legend);
  </code></pre>
  
  <p>but, the bar chart should show Legends? how do i add legends in my bar chart application.</p>
  
  <p>can anyone give me the solution for this issue asap?</p>