Skip to content

[Bug] Can't automatically calculate correct max value in parallelAxis while datas have multiple categories #18082

Closed

Description

@jarvis000000

Version

5.4.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=parallel-aqi

Steps to Reproduce

  1. Delete some datas from dataBJ.
    image

  2. The max value and min value in parallelAxis can only calculate by datas in dataBJ.
    image

Current Behavior

Can't automatically set correct max value in parallelAxis while datas have multiple categories.

Expected Behavior

The max value and min value in parallelAxis calculate by all datas.

Environment

- OS: Windows 11
- Browser: Chrome 108.0.5359.125
- Framework: Vue@3

Any additional comments?

No response

Activity

  1. added
    en
    pending
    on Dec 20, 2022
  2. helgasoft commented on Dec 29, 2022

    @helgasoft

    Yes, it seems the auto-calculated min and max values of all axes come from the first series (dataBJ) only.
    Other series (dataGZ, dataSH) are not taken into account, so min/max values have to be added manually:

    parallelAxis: [
            {dim: 0, name: schema[0].text, min: ?, max: ?},
            {dim: 1, name: schema[1].text, min: ?, max: ?}, ...
    ],
    
  3. jarvis000000 commented on Dec 30, 2022

    @jarvis000000
    Author

    Thanks, I added the min/max values manually. Is there any plan to fix this? I think them have to be auto-aclculated by all series when option whithout them.

  4. zym0110 commented on Apr 24, 2023

    @zym0110

    这个问题 哪个版本可以修复呢,5以下的版本好像都可以

  5. Cahllagerfeld commented on Nov 26, 2024

    @Cahllagerfeld

    I'm still facing this issue that the max value is only calculated based ont he first series, and doesn't respect the remaining ones. Did someone find a workaround besides doing a manual calculation for min and max? In case you do it manually, how does the function look you're using to process the min and max

  6. added and removed
    pending
    on Nov 24, 2025
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

    bugentopic: parallel

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions