apache/echarts

The max and min markline should not follow the precision option

Opened this issue · 3 comments

Version

5.1.2

Reproduction link

https://jsfiddle.net/6L5bzfxn/

Steps to reproduce

  1. Use some really small decimal data (please check the reproduction link).
  2. Set a max markline.

What is expected?

The max markline shows the maximum data.

What is actually happening?

The max markline shows wrong data.
image

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 dev@echarts.apache.org. Please attach the issue link if it's a technical question.

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

Have a nice day! 🍵

Ok, I recheck the doc, there is the precision option, but I don't think that the max and the min markline should follow this option, that made me confused.

Seems the precision should not be fixed by default. We can automatic the precision calculation from the raw data.