Hello.
I can not figure out how to make the pie chart pieces moved together, like
in the second photo. First foto js code:
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Language', 'Speakers (in millions)'],
['Assamese', 13], ['Bengali', 83], ['Bodo', 1.4],
['Dogri', 2.3], ['Gujarati', 46], ['Hindi', 300],
['Kannada', 38], ['Kashmiri', 5.5], ['Konkani', 5],
['Maithili', 20], ['Malayalam', 33], ['Manipuri', 1.5],
['Marathi', 72], ['Nepali', 2.9], ['Oriya', 33],
['Punjabi', 29], ['Sanskrit', 0.01], ['Santhali', 6.5],
['Sindhi', 2.5], ['Tamil', 61], ['Telugu', 74], ['Urdu', 52]
]);
var options = {
title: 'Indian Language Use',
legend: 'none',
pieSliceText: 'label',
slices: {
},
};
var chart = new
google.visualization.PieChart(document.getElementById('piechart'));
chart.draw(data, options);
}
<https://lh3.googleusercontent.com/-S4lrNCIYzP4/V8Ab2uDO33I/AAAAAAAAATQ/u5bhwcyBBU0kWj_klKzbfeo6A60bBEEVgCLcB/s1600/%25D0%25A1%25D0%25BD%25D0%25B8%25D0%25BC%25D0%25BE%25D0%25BA.PNG>
I need like this:
<https://lh3.googleusercontent.com/-8AOvCPZCMgs/V8Ab5M2_JJI/AAAAAAAAATU/iNNoSvPMVS8JdVaNssiWFEKNBFglau4BQCLcB/s1600/2.png>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/c1c78f9a-405c-4a89-8f03-9277abf38ae2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.