plotly / plotly/plotly.js

show the value when the spike and the dataset line crosses in the X axis

未关闭
#5,488 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature P3
主要语言
JavaScript
星标
18.3k
派生
2k
平均合并
2 天 12 小时
30 天内合并 PR
28

描述

Sorry, couldn't describe it better in the title, if someone could suggest an edit I'd appreciate.

My point is, when you have multiple datasets and you hover a line, a popup appears in the Y axis of every other line when it crosses the spike line. I'd like to use a feature where it can be shown the popups with the value of both X and Y axis. I'm attaching an image to help to explain my problem:

2021-02-09_17-40

You see that I hovered the blue line and it showed the popups with the value of the red and cyan lines that met the Y axis, I want to show that same popup in the spot that I have drawn the green arrow indicating the value of the dataset when the line of the dataset and the line of the spike crosses in both axis...

Does anyone know a feature that can do that? Is that feasible? I couldn't find anything about that in the documentation of the spikes.

Thank you very much, great tool you guys developed here!

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该 issue 未指明源文件、测试或实现入口点。先从现有的 spike 文档和附带示例开始;定义弹窗应如何在交叉轴交点处报告 X 和 Y 值,然后在多个数据集上验证该行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。