If you can check attached image file, you can see the datas not on true 
locations.. What is the problem??
Here is my codes;
 

<script type="text/javascript" src="https://www.google.com/jsapi";></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawReportListChart);
function drawReportListChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('number', 'Value');
data.addRows([["Name 1", 19],["Name 2", 16], ..other datas.. ]);
var minValueOfhAxis = 0 - 10;
var maxValueOfhAxis = 75 + 10;
var bucketSize = 10;
var options = {
legend: { position: 'none' },
histogram: {
bucketSize: bucketSize,
},
hAxis: {
maxValue: minValueOfhAxis,
minValue: maxValueOfhAxis
}
};
var chart = new 
google.visualization.Histogram(document.getElementById('reportChart_div'));
chart.draw(data, options);
}
</script>
<div id="reportChart_div" style="width: 1200px; height: 800px;"></div> 

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

<<attachment: Untitled.jpg>>

Reply via email to