Skip to content

[Bug] X-Axis behaves differently in two grids with same candlestick-data #21725

Open

Description

@JulianEzzy

Version

6.1.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=candlestick-touch&code=7VW7bttAEOz9FdcEbuzD7d3xHgpSpDSQL4jhgpBoi7AsCiKdyAj875ldUpQYy0ZSBCliFdJqObM7-7hjs-nqZq0-qR9nSu0-7-p2pq5hKnHwp17M1PlDWa8vd-cXg6972lTwfitXj9XovNvWi6v1otrNlOl9z_3PJFJbzZv14g9i0RAL3zcXZ_h-OqXyZJSD9Kc3VCq1adqa2wD0tr5bdiP4oYZvhD2UIHkz_i-h40u9Rt69CqXaZfN9prrtY7VHKdWsv1bbZqZuy1VbDd6hNb906PUqhradrGPo0D-vA-Ppdb2-Qvx0VLWqbjs8IPNhdIls-OyRr2s27Dk4ltWA8iPqjU37ayn3FbfVtq5OH5tl3XbNtp6Xq0sY8_vLDf5U7RhWDtzViQMmO354cBj7sCHzcr1YVW1Xz-_HR4uyK_cq-HNtLpSjqJ0nB8tGbSmm3md8COxL2vsQpYyBRD00WuthOatztEyyQRcmic9rlykckyy7SYfsMltO-0LoiB8pckiQoiF3TGJRgEKUSAnamSQW6IaEBAs6jkkS1epUkEAjMvV00tnbyFbWbqqu6JFFimIVOpjMipHIBBp1TjhDTNQhxZN2SSzK2kQvPrAtTcRJetIFiRD0LjrpPNjeSme8NonyMYdDwW0LEk7QgbJYDmwrjc3axjhJJLEyAIKEkYK4CpRuOKK3usi-mAyW1wFY76J0PuqUpd-wDMDMgo44mVE_BvRbVgia6NBkI2SvfaBpIhZtvC68JDJJB-8gymYI9cQzIMODnWYSLM_OCR-pisRYYzWY_JTQWjyesFg2ED54Vgo-kRMfYbZGWAaR7FShxMUks2CBQKvZVWDz5GAglffT4crCEQYYMqcii15Ir1FgDk7KCtpQSBMWdwvRKPV8XrmhAThifcTCpekRlKgBS86_mA4z0NAgJWLl880AHlhy-_3OxXNpT1w9L97Ih8vnxVvn_fp5v37er5___vo5oI9voJuz548_AQ&enc=deflate

Steps to Reproduce

  1. Create a chart with two grids.
  2. In both grids draw a candlestick chart (use same data), use same configuration for the axis

Current Behavior

The two charts differ even though, the configuration is the same.
The x-axis label ticks are misaligned, one is starting earlier than the other, making an alignment of grids impossible.

Expected Behavior

  1. Expected Behavior: Having two times the exact sime chart.

Environment

- OS: macOS Tahoe
- Browser: 153.0.3 (aarch64)

Any additional comments?

No response

Activity

  1. added
    enThis issue is in English
    pendingWe are not sure about whether this is a bug/new feature.
    on Aug 10, 2026
  2. helgasoft commented on Aug 10, 2026

    @helgasoft

    Bug is related to xAxisId and yAxisId. Works fine with xAxisIndex and yAxisIndex. Hopefully an easy fix.
    Demo
    Eventually limited to candlestick only, line series work ok with xAxisId - Demo

  3. JulianEzzy commented on Aug 11, 2026

    @JulianEzzy
    Author

    Thank you so much for the fast reply and suggested workaround! Bugfix PR seems also to be open already - you guys are awesome 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions