Skip to content

Display negative value in Logarithmic axis #15558

Closed as not planned
Closed as not planned

Description

@NiantongDong

What problem does this feature solve?

In real life, we can find some value that may break the limit of logarithmic value. In the current version, we cannot show any value in the log axis which is negative

What does the proposed API look like?

axis.min: negative

Activity

  1. echarts-bot commented on Aug 19, 2021

    @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 it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

    A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

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

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

    Have a nice day! 🍵

  2. added
    en
    pending
    on Aug 19, 2021
  3. 100pah commented on Aug 23, 2021

    @100pah
    Member

    What the graph like do you expect when the value is negative on logarithmic axis?

  4. NiantongDong commented on Aug 23, 2021

    @NiantongDong
    Author

    What I want to do is to use the log1p y-axis to represent the certain stock return rate. The rate may be negative and keep going down. If I use type 'log' in echarts, it will not show any value less than 0. If I use type 'value', the graph is incorrect. The idea is that the rate is calculated by Math.log1p(x) and the y-axis value should also be calculated Math.exp(y) so that it can show the correct plot for each value. Here is an example graph I generated using Juptyer and matplotlib.
    download

  5. added a commit that references this issue on Feb 19, 2022
    1663675
  6. added a commit that references this issue on Apr 16, 2022
    48be2b1
  7. github-actions commented on Aug 23, 2023

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

  8. added
    stale
    on Aug 23, 2023
  9. github-actions commented on Aug 31, 2023

    @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

    ennew-featurependingstalewaiting-for: community

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions