VisActor / VisActor/VChart

在移动端实现横屏全屏功能时,将图表容器旋转90度,无论是否重新渲染图表,图表的点击事件还在原位置,没有根据旋转后角度重新绑定

Open
#4,530 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.8k
Forks
221
Avg merge
1d 6h
Merged PRs (30d)
26

Description

怎么样实现,将图表旋转横屏后,事件绑定的坐标根据横屏后的位置来

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mobile fullscreen landscape rotation described in the issue and trace how chart pointer coordinates are converted after the container rotates 90 degrees. Inspect the chart event-binding and coordinate-handling entry points you find during that trace. Done means clicks activate the chart element at its rotated landscape position, both with and without chart re-rendering.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.