views:

125

answers:

1

I can't find in the Chart API the way to remove any axis from a bar chart. For instance:

cht=bvg
chs=410x150
chd=s:StackOverflow

simple bar chart example

How to remove the gray x and y axis?

A: 

All I found is this trick: cover them with a white line and it works

cht=bvg
chs=410x150
chd=s:StackOverflow
chm=r,FFFFFF,0,-0.01,0.01,1
    R,FFFFFF,0,-0.01,0.01,1

alt text

...but any "cleaner" way?

Filippo
AFAIK Bar charts do not support this and always have default axis, line charts do though the sparkline chart type. Perhaps you could use one of these instead?
Phil