hello,
i'm trying to create a bar chart, but i can't get the grid and the bars to align. This is because every set of bars has a spacing of about 8px, while the spacing between the bars themselves can be manualy been set i cannot find an option to set this other spacing. what can i do to set this spacing? (or rather have it take the value of the bar spacing)
thanks, kevin
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | bar_sizing-324133-4.patch | 2 KB | 13rac1 |
Comments
Comment #1
zwoop commentedFwiw, I wanted to achieve the same thing, here's a small patch that I came up with
Comment #2
shrthnd commentedthanks zwoop! your solution worked like a charm.
Comment #3
giorgio79 commentedI would need this in Views integration as well, Bar charts look very weird with those small spacing
Example
Weird Bar Chart with this module
As I understand it may be possible to rotate as well the titles?
Comment #4
13rac1 commentedPatch for code already committed to 7.x-1.x is attached. Includes constants specified in #345550: Support for absolute/relative chart bar sizing. No views support yet.
Comment #5
13rac1 commentedManually applied to 6.x-1.x-dev.