title: How to show data on pie chart in angular 2 using ng2-charts?
body: <p>As in fig I can implement pie chart but how to show data on chart</p>
  
  <p><a href="https://i.stack.imgur.com/WX9ptm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WX9ptm.png" alt="enter image description here"></a></p>
  
  <p>like this:</p>
  
  <p><a href="https://i.stack.imgur.com/sqlv2m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sqlv2m.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;canvas baseChart  class="pie"
    [data]="Data"
    [labels]="Labels"
    [colors]="Colors"
    [chartType]="pieChartType"&gt;
  &lt;/canvas&gt;
  
   public Labels:string[]=['Female','Male'];
   public Data:any =[51,30];
   public pieChartType:string = 'pie';
   public Colors:any = 
   [
  {
    backgroundColor: [      
    'green',
    'red'
    ]
    }
  ]; 
  </code></pre>