2.0: Spacing between bars with percentages set to 1
See original GitHub issueThe border width of the dataset is set to 0. In options:
scales: {
xAxes: [{
barPercentage: 1.0,
categoryPercentage: 1.0,
...
}]
}
There’s still thin lines randomly throughout the chart. This is more noticeable as the number of entries increases (this chart normally has 1024 values).
I’ve also tried setting stacked: true
on both axes, but this doesn’t seem to have an impact.
Is there any work around to eliminate this spacing?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to increase or decrease space between bars in origin ...
This lesson is mainly for all BS, MS, M.Phil, PhD students or early career researchers (ECRs) who are studying surface chemistry and ...
Read more >Graph tip - Changing the width and spacing of columns in ...
Select a data set and enter (at the bottom of the dialog) the percentage of normal spacing you want between that data set...
Read more >3.6 Adjusting Bar Width and Spacing
3.6.2 Solution ... To make the bars narrower or wider, set width in geom_col() . The default value is 0.9; larger values make...
Read more >Barchart reducing space between bars
You can set the category and bar percentages to 1: var options = { type: 'bar', data: { labels: ["Red", "Blue", "Yellow", "Green",...
Read more >How to Make Bars Closer Together in Column Graphs ...
Decreasing this percentage shrinks the empty space between columns by widening the columns themselves. Choosing a zero Gap Width effectively merges all columns ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cpboyd I made some progress on this tonight. I still need to make sure I haven’t broken anything for bars on time scales and do the same fix for the horizontal bar
Before
After
This bug is back in version version: 2.7.2 - text on the chart is crisp, so it’s not a canvas issue, but it’s like the bars are using “pixels” which are larger than the pixels on my screen (much, much larger if I zoom in). Anyone have a workaround?