I've been trying to figure out how to use google chart-wrapper with my django application but I can't seem to find hardly any documentation on how to use it. After playing around with it for awhile I got it to do most everything I want it to, but I can't seem to figure out how to get the range quite right.
For example, this url:
has several values above 100 (in the chd section of the url), but when it gets rendered it cuts anything above 100 off.
This is the code I used to create that url:
hist = {}
d = Defect.objects.all()
for defect in d:
c = Failure.objects.filter(defect = defect).count()
if c > 0:
hist[defect.defcode] = c
m = VerticalBarStack(hist.values())
m.title("Failure Types")
m.size(1000,300)
m.marker('N*', 'black', 0, -1, 11)
m.axes('x')
m.axes.label(0, '|'.join(hist.keys()))
It seems logical that google chart-wrapper would allow me to write something along the lines of m.range(1000) or something similar to specify the range to show on the chart, but that doesn't work and I can't find any real documentation or detailed, complex enough examples to figure it out.