Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New property BarSpacing for bar groups #4

Open
ddTech opened this issue Nov 24, 2017 · 0 comments
Open

New property BarSpacing for bar groups #4

ddTech opened this issue Nov 24, 2017 · 0 comments

Comments

@ddTech
Copy link
Collaborator

ddTech commented Nov 24, 2017

On SingleData charts (bars and columns) BarsSpaceBetween determins the space between each individual bar. On multi data charts this value determins the space between the bar groups. The spacing between individual bars is hardcoded. In multi data charts bars overlap by one pixel - more or less, due to rounding issues. I don't know if that's on purpose, as the calculation for the space required uses the full bar width (if I remember that correct).
When I experimented with other gradients, I didn't like that. So I added an additional property BarSpacing which defaults to 0. A value of zero places columns side by side. Set BarSpacing to -1 to get the placing as before.

This is BarSpacing = 0

barspacing_0

BarSpacing = -20

barspacing_m20

BarSpacing = 2

barspacing_p2

Regards

Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant