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.

BarChart bar is moved outside of container and overlaps with yAxis labels.

See original GitHub issue

One-line summary [问题简述]

Scaled bar element is getting to wide and overlaps with yAxis labels. See screenshots

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.6.1
  • Browser version [浏览器类型和版本]: Chrome 59.0.3071.86 (Official Build) (64-bit)
  • OS Version [操作系统类型和版本]: macOS Sierra 10.12.5

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

Other comments [其他信息]

barchart_width

image

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pissangcommented, Jun 14, 2017

xAxis.boundaryGap: true ?

0reactions
arashkevich25commented, May 6, 2020

any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

BarChart bar is moved outside of container and overlaps with ...
One-line summary [问题简述] Scaled bar element is getting to wide and overlaps with yAxis labels.
Read more >
Bar Chart with Categories in reverse order - Data Label ...
I want the label on the left of the Y axis, as when it is placed on the right side, the data label...
Read more >
High charts bar chart label overlaps with the graph when ...
I'd try to find the maximum width of any of the x-axis labels, set that as the min-width of the parent (as below),...
Read more >
Axis numbers overlap chart in MS Excel. Move the labels ...
00:00 Axis labels overlap the chart data in negative situations00:18 Change the horizontal axis label setting00:36 Change 'next to axis' to ...
Read more >
Rule 24: Label your bars and axes - AddTwo
Place these labels 'inside or just outside' the bar. But there are many ways to explain to an audience what your chart contains....
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