Skip to content

Override bar width for discreteBar and discreteBarChart#2119

Open
josemf wants to merge 8 commits intonovus:masterfrom
felix-app:override-bar-width
Open

Override bar width for discreteBar and discreteBarChart#2119
josemf wants to merge 8 commits intonovus:masterfrom
felix-app:override-bar-width

Conversation

@josemf
Copy link

@josemf josemf commented Oct 25, 2017

Added an option overrideBarWidth. Allows to user supply a fixed bar width and a padding.

chart.overrideBarWidth({ width: 35, padding: 8 }) // 35 pixel width with 8 pixel padding between the bars

chart.overrideBarWidth(35) // 35 pixel width with no padding

When wrapLabels=false (default behaviour) will wrap any label on any …
…ion based on data length and defines a way to define fixed bar width and padding for bars and legends.

Available in discreteBar and discreteBarChart
@liquidpele
Copy link
Contributor

don't include build files, only src files in the PR

@liquidpele
Copy link
Contributor

Any update?

Copy link
Author

@josemf josemf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted generated files

@josemf
Copy link
Author

josemf commented Mar 2, 2019

Sorry I didn't really followed up on this.

I'm not actually using this code anymore, feel free to remove this PR if not relevant now.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants