how to render compound chart with pygooglechart?

45 views
Skip to first unread message

nvictor

unread,
Aug 9, 2010, 9:54:22 AM8/9/10
to Python Google Chart
hello group,

i'm trying to render this chart:

http://chart.apis.google.com/chart?cht=bvs&chbh=5,2&chm=D,0033FF,2,0,5,1&chbh=20&chs=200x150&chd=s2:1XQbnf4,EWoQMUB,9halxp9&chco=4D89F9,C6D9FD

can someone tell me how it is done. i can't figure out what chart
class should be used, and how the data should be added to get the
desired result.

thanks a lot in advance.

lebouquetin

unread,
Jul 7, 2011, 2:26:10 PM7/7/11
to pygoog...@googlegroups.com
Hello all,

For my needs, I did patch pygooglechart (based on the 0.3.0 version) to add this feature.

Here is the patched file pygooglechart.py and the bar.py file updated with a new example of compound chart, see at http://chart.apis.google.com/chart?cht=bvs&chs=250x100&chd=e2:B1DqFfHUtt,B1HUQddQB1,qDV8bbOoV8,FfOoMzK-mZ&chco=00ff00,ff0000,0000ff&chm=D,000000,2,0,5,0|D,999999,3,0,2,0&chbh=10

The new bar.py file build a compound chart saved into bar-vertical-stacked-compound.png

Is it possible to add it to the github sources? Do you need extra information/code?

Le bouquetin

pygooglechart.py
bar.py
Reply all
Reply to author
Forward
0 new messages