enable hover label text background colour to be configurable
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
I have a plotly.js web app that uses plots with ~20 series, each with a unique 'dark mode compatible' colour. However when hovering over each of the plot lines, the series name in the label that pops up upon hover is hard to read, as the colours are configured for dark mode.
In the image below, I want to be able to change the background colour behind the PID_Angle_Ou... label to a dark-mode compatible colour (e.g. dark gray), or make it transparent.
From what I've found, I can only change the background colour of the (116, 243.3177) label, but I really need to be able to change the background of the series name.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 没有指明源文件、测试或入口点。首先定位 hover 标签的渲染,以及用于更改坐标标签背景的现有选项;确定系列名称标签在哪里设置样式。完成的标准是:可以配置系列名称的背景,包括深色或透明值,并覆盖所请求的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100