how to display label and values only on google pie chart legend with data from mysql db
<p>I am using google charts API to display pie chart and I want the legend to display only the label and values and I'm stucked, most of the answers I searched includes percentage. How can I do this?</p>

<p>My code below:</p>

<p><strong>PHP</strong></p>

<pre><code>$table         = array();
$table['cols'] = array(
    //Labels for the chart, these represent the column titles
    array('id' =&gt; '', 'label' =&gt; 'Country', 'type' =&gt; 'string'),
    array('id' =&gt; '', 'label' =&gt; 'Number of Devices', 'type' =&gt; 'number')
); 

$rows = array();
foreach($exec as $row){
    $temp = array();

    //Values
    $temp[] = array('v' =&gt; (string) $row['Country']);
    $temp[] = array('v' =&gt; (int) $row['Number of Devices']); 
    $rows[] = array('c' =&gt; $temp);
}

$table['rows'] = $rows; 
$jsonTable = json_encode($table);
echo $jsonTable
</code></pre>

<p><strong>JavaScript</strong></p>

<pre><code>google.charts.load('current', {'packages':['corechart']});

google.charts.setOnLoadCallback(drawChart);

function drawChart() {

  var PieChart_options = {
      title: 'Number of Devices per country',
      pieSliceText: 'value',
      width: 900, 
      height: 500
    };

 var data = new google.visualization.DataTable(&lt;?=$jsonTable?&gt;);

  var chart = new google.visualization.PieChart(document.getElementById('pie_div'));
  chart.draw(data, PieChart_options);

}
</code></pre>

<p>I want to create like this one:
<a href="https://i.stack.imgur.com/ECTL2.png" rel="nofollow noreferrer">pie chart with label and value on legend</a></p>