antvis / antvis/F2

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

Open
#1,509 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [x] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/youthful-albattani-cdb91w?file=/index.jsx)

### Steps to reproduce

![image](https://user-images.githubusercontent.com/6457155/172807937-512f8d87-9754-4374-bf43-bee0ba0fb89d.png)

| Environment | Info |
|---|---|
| f2 | 4.0.22 |
| System | - |
| Browser | - |

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox reproduction and start with index.jsx, then trace the smooth Line component rendering used by the example. Compare the rendered curve's inflection point with the supplied coordinate points and document the expected alignment. Done means the reproduced smooth line places its inflection point on the corresponding coordinate point without regressing the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.