I am using Google visualization to draw a pie chart. I want to change the radius of the color circles in the legend.
Is that possible ?
The output from Google graph looks like this:
<circle cx="8" cy="8" r="8" stroke="none" stroke-width="0" fill="#de6913" style="
width: 20px;
"></circle>
Its the r="8" I want to modify.
Here's a standard example of a Piechart:
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Task', 'Hours per Day'],
['Work', 11],
['Eat', 2],
['Commute', 2],
['Watch TV', 2],
['Sleep', 7]
]);
var options = {
title: 'My Daily Activities'
};
var chart = new google.visualization.PieChart(document.getElementById('piechart'));
chart.draw(data, options);
}