function drawVisualization() {
  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable([
    ['Year', 'Copies Delivered', 'Delivered to Agents'],
    ['99977',  99977,231871]
  ]);

  // Create and draw the visualization.
  new google.visualization.BarChart(document.getElementById('visualization')
).
      draw(data,
           {title:"",
            width:200, height:100,
            chartArea:{width: 100, height:30,backgroundColor: {stroke: 
'#000',strokeWidth: '2'}},
            vAxis: {title: '', textStyle:{color: 'white'}, textPosition:
'none'},
            hAxis: {title: '', textStyle:{color: 'white'}},
            focusTarget:'datum',
            isStacked: true,
            legend:{position: 'none'},
            backgroundColor: {stroke: '#000',strokeWidth: '2'}
           
           }
      );
}
​ 

On Wednesday, July 11, 2012 4:36:00 PM UTC+2, Supafli wrote:
>
> Update:
>>
>
> I changed my code to use a stacked bar chart.
> all I need to do is show data labels for each data point. Is this 
> possible? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-chart-api/-/cwfGxgdgHiwJ.
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-chart-api?hl=en.

Reply via email to