#7 bhg - colors and labeling

open
nobody
5
2008-08-04
2008-08-04
Anonymous
No

Hi,

Thank you very much for the package!

I'm having trouble matching the Google Chart output of the following URL.

http://chart.apis.google.com/chart?cht=bhg&chs=400x160&chd=e:KsAASAQAXu6LAA&chco=7d26cd|cc3299|eead0e|8e2323|66cdaa|8b7355|6e8b3d&chxt=x&chxl=0:|0|1276&chxp=0,0,100&chxs=0,202020,10,0&chm=r,E5ECF9,0,0,0.0|t%20Test1,000000,0,0,11,0|t%20Test2,000000,0,1,11,0|t%20Test3,000000,0,2,11,0|t%20Test4,000000,0,3,11,0|t%20Test5,000000,0,4,11,0|t%20Test6,000000,0,5,11,0|t%20Test7,000000,0,6,11,0&chbh=12

http://localhost:8080/eastwood/chart?cht=bhg&chs=400x160&chd=e:KsAASAQAXu6LAA&chco=7d26cd|cc3299|eead0e|8e2323|66cdaa|8b7355|6e8b3d&chxt=x&chxl=0:|0|1276&chxp=0,0,100&chxs=0,202020,10,0&chm=r,E5ECF9,0,0,0.0|t%20Test1,000000,0,0,11,0|t%20Test2,000000,0,1,11,0|t%20Test3,000000,0,2,11,0|t%20Test4,000000,0,3,11,0|t%20Test5,000000,0,4,11,0|t%20Test6,000000,0,5,11,0|t%20Test7,000000,0,6,11,0&chbh=12

Can you help me?

Thanks,
sbrandt

Discussion

  • The default color of the labels aside the axes is gray. That color is not printed on some black and white printers so the easiest way seemed to turn their color to black. However, chxs does not respond in any way. For example:

    https://localhost:8080/chart?cht=lxy&chd=e:AfA7BaB5CXC0DSDxENEsFLFqGGGlHEHgH-IdI5JYJ3KZKyLRLyMMMrNJNlOEOjPIPeP9QhQ4RXSESrS8TSTuUNUpVLV4WOWyYSYgZSZbZ6aWeKemfpfpg4jEjMj5j8nfpbuHurzz3k..,7H4E1PyjwiudsjqqpGnfmWlQkNjHh5g1gAe-d.dOcbbealaLZOYfXaXAWPVVUYTkTPSzSWRxRRRBQfQOP0PPOeNdMiL6LsLAKwKgKPJ-JrJYJEIwIEIEHtHVG7GhGFFmFEEhD2C3AAAA&chco=000000&chls=3.0,1.0,0.0&chxt=x,y&chxs=0,000000|1,000000&chxl=0:|0|1|2|3|year|1:|0%|10%|20%|30%|40%|50%|60%|70%|80%|90%|100%&chs=400x250&chts=000000&chtt=Some+survival+graph

    This works with Google chart. It would be nice if a patch were made available very soon where this is fixed or if the error were pointed in the source code so we can fix it ourselves.
    Thanks a lot,
    Eurotransplant.

     
  • David Gilbert
    David Gilbert
    2009-05-13

    Just noting that this bug is related to 2543394.