Hi Praveen,

Have you tried something like this? It puts the actual value in the Pie and 
the percentage outside, perhaps you can use this as a base to work with to 
see if you can get the end result you want.

Regards,
Steve.


<script src="https://www.gstatic.com/charts/loader.js";></script>
<div id="chart_div"></div>



google.charts.load('current', {
  packages: ['corechart']
}).then(function () {
  var data = google.visualization.arrayToDataTable([
    ['Language', 'Amount'],
    ['Spanish', 87.1],
    ['Portuguese', 102],
    ['Other', 13.2]
   ]);

  var options = {
    width: 900,
    height: 400,
    title: 'Languages',
   
    colors: ['#008000', '#ffbf00', '#FF0000'],
    pieSliceText: 'value',
    sliceVisibilityThreshold :0,
    fontSize: 17,
    legend: {
      position: 'labeled'
    },
  };

  var chart = new 
google.visualization.PieChart(document.getElementById('chart_div'));
  chart.draw(data, options);
});




On Thursday, 9 January 2020 14:07:17 UTC, Praveen Kumar wrote:
>
> Hi All,
>
> I am working with *gvisPieChart. *By default the pieSliceText  are placed 
> in the slice,but i could like the pieSliceText to  be outside the 
> slice.attaching the sample pie for reference.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/40e38014-30d3-48ee-9209-e9203df3d556%40googlegroups.com.

Reply via email to