What steps will reproduce the problem?
1. copy paste the below code in
https://code.google.com/apis/ajax/playground/?type=visualization#pie_chart
and Run Code.
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Task', 'Hours per Day'],
['Work', 713],
['Eat', 2],
['Commute', 2],
['Watch TV', 2],
['Sleep', 1]
]);
// Create and draw the visualization.
new google.visualization.PieChart(document.getElementById('visualization')).
draw(data, {title:"So, how was your day?"});
}
What is the expected output? What do you see instead?
Pie chart is drawn but in legend the last columns label is shown as "Other"
instead its should be "Sleep"
What version of the product are you using? On what operating system?
i have used Linux and Windows 8 with Google Chrome 25
Please provide any additional information below.
Original issue reported on code.google.com by ashwinve...@gmail.com on 15 Mar 2013 at 3:17
Original issue reported on code.google.com by
ashwinve...@gmail.com
on 15 Mar 2013 at 3:17