正如您从链接中看到的那样,最大值约为 250,而应该是 999(请参阅下面的数据)。为什么会这样,我该怎么办?
http://chart.apis.google.com/chart?chxt=y&chd=e:AMAPAWAqAgGfPnPnLS&chxr=0,0,1000 ,200&chco=76a4fb&chs=600x300&cht=lc&chtt=Some+graph&chls=1.0
import GChartWrapper as C
def makeGraph(maxY, stepY):
data = [12,15,22,42,32,415,999,999,722]
G = C.Line(data, encoding='extended')
G.color('76A4FB')
G.line(1)
G.axes('y')
G.axes.range(0,0,maxY,stepY)
G.size(600,300)
G.title("Some graph")
return G
g = makeGraph(1000,200)
print ""
print g
print ""