The Bar chart is displaying all bars at 2,00 but if you hover over the bar
it displays the correct number. The following is the java scripts I'm
using.
google.load('visualization', '1', { packages: ['corechart'] });
function drawVisualization() {
// Create and populate the data table.
var JSONObject = {
cols: [{id: 'Month', label: 'Month', type: 'string'},{id:
'opened', label: 'Tickets Opened', type: 'number'},{id: 'closed', label:
'Tickets Closed', type: 'number'}] ,rows: [{c:[{v: 'Dec'},{v: '1723'},{v:
'1936'}]},{c:[{v: 'Jan'},{v: '1681'},{v: '1606'}]},{c:[{v: 'Feb'},{v:
'1332'},{v: '1383'}]},{c:[{v: 'Mar'},{v: '1483'},{v: '1521'}]},{c:[{v:
'Apr'},{v: '1785'},{v: '1767'}]},{c:[{v: 'May'},{v: '1834'},{v:
'1833'}]},{c:[{v: 'Jun'},{v: '1461'},{v: '1419'}]},{c:[{v: 'Jul'},{v:
'1631'},{v: '1646'}]},{c:[{v: 'Aug'},{v: '1507'},{v: '1536'}]},{c:[{v:
'Sep'},{v: '1440'},{v: '1397'}]},{c:[{v: 'Oct'},{v: '1683'},{v:
'1689'}]},{c:[{v: 'Nov'},{v: '1446'},{v: '1378'}]}]
};
var data = new
google.visualization.DataTable(JSONObject, 0.7);
// Create and draw the visualization.
visualization = new
google.visualization.ColumnChart(document.getElementById('chart'));
visualization.draw(data,
{
title: "Open/Closed for 11/1/2013",
width: 960, height: 720,
vAxis: { title: "Tickets" },
hAxis: { title: "Month" },
isStacked:false,
colors:['#FFBA00','#E07F16','#7FAD49','#41A2EF','#006AD6','#666666','#C0C0C0','#808080','#000000','#FF0000','#800000','#00FF00','#008000','#00FFFF','#008080','#0000FF','#800080','#FF00FF','#FFBC00','#FFF8DC','#87CEFA']
}
);
}
--
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.