Hi, I am using google API's to  display the status of the shipments in
Pie chart representation and it works perfect except, in the case of 1
specific scenario.
Here is my function body - data setting to the Pie chart
function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('string', 'Ship Status');
            data.addColumn('number', 'Number of Shipments');
            data.addRows(4);
        data.setValue(0, 0, 'In Progress');
        data.setValue(0, 1, 2000);
        data.setValue(1, 0, 'Sent To Bid');
        data.setValue(1, 1, 2000);
        data.setValue(2, 0, 'Processed');
        data.setValue(2, 1, 5);
        data.setValue(3, 0, 'Shipped');
        data.setValue(3, 1, 1);


        var chart = new google.visualization.PieChart
(document.getElementById('chart_div'));
        chart.draw(data, {width: 400, height: 240, is3D: true, title:
'My Daily Activities'});
      }

as you can see that , the data of Ship Status for 'In Process' and
'Sent To Bid' is huge compare to 'Processed' & 'Shipped' and when i
run this on web browser, i am seeing the pie chart with 2 divisions
'In Progress'  as 50% &  'Sent To Bid'  50% ,only and i don't see any
thing for the rest, even though each does have value 1.
If some body faced this problem and got solution or some body has
knowledge on this please , help me with a solution.

Thanks
Ravi P
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to