Hey there,

When the lines are drawn, they seem to have issues going off the chart 
(over 100% and under 0%) Check out this code to reproduce.  Is there a way 
around it?

function drawVisualization() {
var data = google.visualization.arrayToDataTable([
['Team', 'Team1', 'Team2', 'Team3'],
['Apr 2012', 100, 100, 0],
['May 2012', 100, 100, 100],
['Jun 2012', 100, 100, 100],
['Jul 2012', 100, 100, 100],
['Aug 2012', 100, 100, 100],
['Sep 2012', 100, 100, 100],
['Oct 2012', 100, 100, 0],
['Nov 2012', 100, 100, 100],
['Dec 2012', 100, 100, 0],
['Jan 2013', 100, 0, 100],
['Feb 2013', 100, 100, 100],
['Mar 2013', 100, 8, 100],
['Apr 2013', 100, 20, 100]
]);

var formatter = new google.visualization.NumberFormat({pattern: "#'%"});
formatter.format(data, 1);
new 
google.visualization.LineChart(document.getElementById('visualization')).
draw(data, {
curveType: "function",
width: 900, height: 400, legend: 'top', title: 'Ticket Percentages in SLA 
12 Month Trending',
vAxis: {
gridlines: {
count: 10
},

viewWindowMode: 'explict',
viewWindow:{
max:110,
min:0
},
format: "#'%"}});
}

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to