Accessing pixel coordinates of data without event
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, react
调研方向
从 PlotlyComponent chart ref 以及 issue 中引用的 Plotly APIs 开始,包括 l2p、d2p 和 Fx.loneHover。确定该组件是否提供一种无需 event 即可获取数据点像素坐标的方式,并将完成标准定义为存在一种有文档记录或可工作的方式来以编程方式触发 hover。
由索引模型根据 Issue 内容生成。
描述
I'm trying to do something similar to the following forums where I'm trying to get the x, y coordinates of a data point in order to use the Fx.loneHover to programmatically trigger a hover event.
- https://community.plot.ly/t/how-to-customize-plotly-tooltip/332/21
- https://github.com/plotly/plotly.js/issues/1963
Any advice on how to achieve this? If I inspect the chart ref in the PlotlyComponent in does not have the function l2p or d2p anywhere within the object and I do not have an event handle to use to retrieve the x and y relative pixel locations.
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 138
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plotly/react-plotly.js 的其他 Issue
-
P3 plotly-internal size: 1 task
难度 3/5 1-2 天 新手友好度 45/100
plotly/react-plotly.js#386 ·
-
enhancement P3 size: 1
难度 3/5 1-2 天 新手友好度 65/100
plotly/react-plotly.js#380 · 7 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
plotly/react-plotly.js#358 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
plotly/react-plotly.js#354 ·
-
难度 3/5 1-2 天 新手友好度 30/100
plotly/react-plotly.js#353 · 1 条评论 ·
查看 plotly/react-plotly.js 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 86/100
sugarlabs/musicblocks#8847 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
Request: SumUp 未关闭new icon permissions in review
难度 2/5 1-3 小时 新手友好度 72/100
simple-icons/simple-icons#15027 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
TheOdinProject/curriculum#31408 ·