Skip to content

[Bug] Cannot set minimum/fix margin between each label/item on y-axis in gantt chart #19542

@soniagtm

Description

@soniagtm

Version

5.4.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=custom-gantt-flight

Steps to Reproduce

  1. Create gantt chart with the options just like the available example
  2. Try creating with larger data (more parking apron index) or expand the y-axis slider or remove the y-axis slider

Current Behavior

When creating gantt chart with larger data, it appears that the axis label as well as gantt item overlaps over each other or if the data is too small, then the space between each item would be too large and as I checked, I couldn't find any specific option that I could set to prevent this or to fix the space between each item vertically.

Screenshot 2567-01-24 at 16 31 26

image

Expected Behavior

There should be some options to set the minimum margin between each item on y-axis so that no items are overlap over each other.

Environment

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions