Skip to content

[Bug] Visual Map not rendering line color (but it IS rendering correct color in label) #18629

Closed as not planned

Description

@craigchandler

Version

5.4.2

Link to Minimal Reproduction

https://codepen.io/daemach/pen/MWegRvO

Steps to Reproduce

See code pen.

Current Behavior

Line color does not change, although the LABEL color is being mapped correctly according to visual map rules

Expected Behavior

I expect the line color to change based on values in dimension 2 of series 0

Environment

- OS: Linux
- Browser: Firefox && Chrome
- Framework: javascript / angular

Any additional comments?

see #13393

Activity

  1. added
    en
    pending
    on May 16, 2023
  2. changed the title [-]Visual Map not rendering line color (but it IS rendering correct color in label)[Bug] [/-] [+][Bug] Visual Map not rendering line color (but it IS rendering correct color in label)[/+] on May 16, 2023
  3. craigchandler commented on May 16, 2023

    @craigchandler
    Author

    It should be noted that when the series type is 'bar' the bar color matches that defined by dimension not the plotted value

  4. helgasoft commented on May 16, 2023

    @helgasoft

    Agree, kind of weird. People want to do line segments coloring in ECharts, but get just line points (+label) coloring.
    Solution is to use custom lines - see code example in #18634

  5. github-actions commented on May 15, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  6. added
    stale
    on May 15, 2025
  7. github-actions commented on May 23, 2025

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

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

    bugenpendingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions