Skip to content

[Bug] all data less than 1e-10 and value axis, resulting in a drawing error #21109

@chengzhanli

Description

@chengzhanli

Version

5.2.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AG4CGANgK5W0A0J6AthNDoATRmEYBZAbRIBfbunI58RVKTKUasBi3ZcesfoK0ixk6NPRySeKgCcIVQrADa-1WvXU6eAMaiwdnoesCaMRK7B6M4AjAB0AAyJSfEArFQAtNHRnLBxyUlpmfEAujkA9GWwAHLAYLCseAIA5rAA7hDMzLC2jqzMdQKwirh4sACitrbAtvpqMQn5qRnR8Tl5i4VZpbAV1bX1jdAt7Z3dvf2wg9gj45PTs6Tzi0uZAExrC_mb0aUPxfoyEj_GQAbiAA

Steps to Reproduce

When ALL data is less than 1e-10, there is a problem in drawing the value axis, resulting in a drawing error.

Current Behavior

axis and chart render error

Expected Behavior

axis and chart render correct

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

It seems that when all data is less than 1e-10, it causes an axis range calculation error and a mapping error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions