apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.76k stars 19.62k forks source link

Interval is not working in horizontalbar x axis #20072

Open karthik-noveau opened 5 months ago

karthik-noveau commented 5 months ago

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=bar-y-category&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQDqwATlgCawAKoArlgIaQyVEBfADREwwYFkggCqYhjoQA5opx0qXUhADOlEXI3a2EaGFUyicsAE8Q-WJS0ALLo2AB3fnIGC9sXCuhGGWEiRQUgwjlcADMKewBmAFJdC1gFRUc4ygAWZN90ACNgMDEAWyoklLkAYxgwLmMAGS4CnCwCMDp2HB8iUgBBTS1zSxs7SgA3LixuquIi9kCuOisAcS5pWABtAAYhWB2AOh2ARgBdfNgDLWbW9tk5WGNTOin22AAiLnYxD9TvdAhdBWQbaEbEay2KjVHg4RT0KxzdCMHhcAhbSgAIToXAAXhAsLp7ABJQIwHBaCBcImUACqAGV-jTSYwqTSAMKOYzU_Y0ehMShnXroLSqCAU9GpB5yaBcUrjABMpxOSIhYyoBWWquRqPRJwAHAqjTt4vsFfFsvqAJxmq0m7L7E47bJWgDse1gJ3iJ1d2QdsAAbPEduadkKvJdpcRZfKqEqTgrtRh1fZNXQkyj6nqrd79XmjQqAKxmi3xfX7b0hnYehOG_UnQtW_1e7InVv7AP1vM7V3h4gA2BCgQAbiAA

Steps to Reproduce

  1. reduce the chart width
  2. labels will be overlapping

Current Behavior

Interval is not working in horizontalbar x axis

image

Expected Behavior

x axis labels will not overlapping at horizontal bar chart

Environment

- OS: mac
- Browser: chrome
- Framework: react js

Any additional comments?

No response

helgasoft commented 5 months ago

Expected Behavior: x axis labels will not overlapping at horizontal bar chart

use hideOverlap ?