question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bar width rendered differently in the 3.4.0 release

See original GitHub issue

Seems like bar width is rendered differently in the 3.4.0 release, I’m using this sample code:

{
    color: ['#3398DB'],
    grid: {
        width:100,
        height:100
    },
    xAxis : [
        {
            type : 'category',
            data : ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        }
    ],
    yAxis : [
        {
            type : 'value'
        }
    ],
    series : [
        {
            type:'bar',
            barWidth: '100%',
            data:[10]
        }
    ]
}

which renders differently in 3.3.2 & 3.4.0: image

Is this a bug or feature?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jonavilacommented, Jan 16, 2017

@jarben Yes, I think it would be useful to have both options. The new default is good for time series data where you may want to show all axis labels for say, Month names, but there may be months with no data. I’ve seen cases where users want to omit those null categories, so having both would be great.

0reactions
jarbencommented, Jan 17, 2017

Sounds good, thanks @100pah !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bar width rendered differently in the 3.4.0 release · Issue #4943
Seems like bar width is rendered differently in the 3.4.0 release, I'm using this sample code: { color: ['#3398DB'], grid: { width:100, height:100...
Read more >
ggplot2 3.4.0 - Tidyverse
Hello linewidth​​ From this release on, linewidth will take over sizing of the width of lines—something that was earlier handled by size ....
Read more >
How can I change the width of the bars in a highchart?
Widen your browser and the chart is redrawn to fit its new width if it's not fixed, though I am relatively new to...
Read more >
Several bugs in 3.4.0 with Windows Vista • Discussions ...
I noticed several bugs in Windows Vista with current release 3.4.0. ... The glow effect of the title bar button has gone from...
Read more >
3.6 Adjusting Bar Width and Spacing - R Graphics Cookbook
You want to adjust the width of bars and the spacing between them. ... Despite the different bar widths, the middles of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found