Skip to content

Visual Map not rendering line color (but it IS rendering correct color in label) #13393

Closed as not planned

Description

@Daemach

Version

4.9.0

Reproduction link

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

Steps to reproduce

See code pen.

What is expected?

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

What is actually happening?

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


It doesn't work in the 5.0.0 alpha 2 release either.

Activity

  1. echarts-bot commented on Oct 6, 2020

    @echarts-bot

    Hi! We've received your issue and please be patient to get responded. 🎉
    The average response time is expected to be within one day for weekdays.

    In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

    If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.

    If you are interested in the project, you may also subscribe our mail list.

    Have a nice day! 🍵

  2. added
    en
    pending
    on Oct 6, 2020
  3. removed
    pending
    on Oct 9, 2020
  4. quillblue commented on Oct 16, 2020

    @quillblue
    Contributor

    Took a look as requested in mail list. Seems that line will only accept visual map on value dimension.
    But I feel a bit weird on why color on line need to be mapped to fields not related to value it self. Most cases of line color visual map is configured on simple and continous value range (just as https://echarts.apache.org/examples/en/editor.html?c=line-aqi) and I feel sorry to say that I can't be aware of bothering of current limitation.

  5. Daemach commented on Oct 16, 2020

    @Daemach
    Author
  6. quillblue commented on Oct 17, 2020

    @quillblue
    Contributor

    @Daemach that situation seems make sense. Will try to look at the different rendering between label and line.

  7. Daemach commented on Oct 17, 2020

    @Daemach
    Author
  8. Daemach commented on Nov 13, 2020

    @Daemach
    Author
  9. github-actions commented on Nov 16, 2022

    @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.

  10. added
    stale
    on Nov 16, 2022
  11. github-actions commented on Nov 24, 2022

    @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!

  12. craigchandler commented on May 16, 2023

    @craigchandler

    Was there ever a solution to this? facing this issue now when looking to adopt echarts

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

    bugenstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions