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

Added "bar.space" parameter to set space between bars in bar charts #1815

Closed
wants to merge 1 commit into from

Conversation

panthony
Copy link
Contributor

This PR is heavily inspired by #1328.

The difference is that the bar's space is subtracted from the bar's width.

That way the bars container will not be bigger than the container with no space between them.

It also adds some UTs (could be more exhaustive with fixed bar width, bar ratio, though...)

@codecov-io
Copy link

Current coverage is 63.74% (diff: 100%)

Merging #1815 into dev will not change coverage

@@                dev      #1815   diff @@
==========================================
  Files             1          1          
  Lines          4424       4424          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           2820       2820          
  Misses         1604       1604          
  Partials          0          0          

Powered by Codecov. Last update f7f99e0...f3fd649

@kt3k
Copy link
Member

kt3k commented Aug 19, 2017

@panthony
Thanks for the contribution!

This has been merged through #2146. Released at v0.4.17.

Thanks!

@panthony panthony deleted the feat/add-bar-space-option branch February 28, 2018 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants