平移时候动态计算Y轴数据范围
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.
### What problem does this feature solve?
以官网蜡烛图-日K为例 https://f2.antv.vision/zh/examples/candlestick/basic#daily
目前官网的例子是把整个图表里的数据进行汇总计算出Y轴总体范围(官网例子 3.00 ~ 6.00), 但是我想实现的是屏幕内数据的范围(官网例子3.00~4.50)
这样图表看起来会更充实一点
### What does the proposed API look like?
有办法动态获取屏幕内数据和设置Y轴数据
Contributor guide
Research direction
Start with the official candlestick daily example linked in the issue and inspect how panning currently determines the Y-axis range. Identify the entry points for accessing data visible on screen and setting the Y-axis range. Done means the chart can dynamically use the visible data range, such as 3.00–4.50 instead of the full 3.00–6.00 range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100