F2 icon indicating copy to clipboard operation
F2 copied to clipboard

Line Component, Shape=smooth, The inflection point is not on the coordinate point

Open hy-pillow opened this issue 2 years ago β€’ 4 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

ζ—  image

Environment Info
f2 4.0.22
System -
Browser -

hy-pillow avatar Jun 09 '22 08:06 hy-pillow

Yes, smooth will make the curve look better, but it will lose accuracy. If you want to express accurately, it is not recommended to use smooth

zengyue avatar Jun 09 '22 13:06 zengyue

thanks @zengyue

Can ensure the xAxis of the inflection point~

image

image

seems sometimes accurate, sometimes inaccurate

hy-pillow avatar Jun 10 '22 03:06 hy-pillow

really not sure, smooth will only ensure that the curve passes through the data points

zengyue avatar Jun 10 '22 11:06 zengyue

Thanks, but this may cause the curve to trace beyond the highest and lowest points of the data

hy-pillow avatar Jun 16 '22 02:06 hy-pillow