enable annotations for grouped bar chart
未关闭
还没有人认领这个 Issue。
feature
P3
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
I can't find any way of adding annotations to individual bars in grouped bar chart.
Minimal example: https://codepen.io/bleah1/pen/vYzMRWJ
- related https://github.com/plotly/plotly.py/issues/356 (
textpositionapplies only to thetextproperties of each trace,annotationsrepresent alayoutproperty)
I am building a grouped bar chart with a slider and based on this workaround https://github.com/plotly/plotly.py/issues/356#issuecomment-235890265 I was able to add annotations to each frame.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先复现链接 CodePen 中的最小分组柱状图,并查看相关的 plotly.py issue 及其基于 frames 的 workaround。完成标准是:分组柱状图中的单个柱可以接收 annotations,包括图表使用 slider 和 frames 的情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100