The issue is the viewWindowMode option. When set to 'maximized' it tries to
set up the chart with the maximum and minimum values touching the top and
bottom of the chart area. If all values are the same, however, it cannot do
so. Try this instead:
vAxis: {
textPosition: 'none',
gridlineColor: '#FFFFFF',
baseline: 0,
minValue: 0,
maxValue: 10,
baselineColor: '#FFFFFF',
viewWindow: {
min: 0,
max: 10
}
}
Incidentally, the viewWindowMode option is not used for hAxis in Line
Charts.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/V0jo4_3aBj0J.
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.