plotly / plotly/angular-plotly.js
Autorange does not work with type bar with range slider?
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 242
- 派生
- 81
- 平均合并
- 8 小时 48 分钟
- 30 天内合并 PR
- 18
描述
There was an older issue posting related to this that hasn't had any activity and after checking the plotlyjs issue page, i am confused as I cannot tell if autorange is behaving as i am understanding it.
e.g.:
https://community.plotly.com/t/plotly-autorescaling-y-axis-range-when-range-slider-used/73970
https://codepen.io/niwsa/details/BXBjQQ
https://community.plotly.com/t/update-y-axis-domain-when-zoomed-on-x-axis/2073
https://github.com/plotly/plotly.R/issues/912
https://github.com/plotly/plotly.js/issues/1876
some replies had mentioned to just 'filter' the data using relayout event but i'm not sure how this can be done with those range values or how that will impact the range slider 'sub chart' image if you end up 'filtering' and removing the rest of the bars.
in my https://stackblitz.com/~/github.com/ysk3a/angular16plotly , if you slide the range to show the smaller bars, the y-axis does not 'auto range' for the bars to be visible.
i'm not sure if this is a bug, maybe caused by me missing property in my config, a wip feature in the plotly library that plotly is trying to add or autorange is working as intended.
i'm working with angular 16 and "angular-plotly.js": "^5.2.2", "plotly.js-dist-min": "^2.27.1",
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用 angular-plotly.js 5.2.2 和 plotly.js-dist-min 2.27.1,在链接的 Angular 16 StackBlitz 中复现该行为。移动 range slider 以显示更小的柱形时,比较 y 轴的 autorange,并查看链接的 Plotly 讨论和 issues。完成的标准是确定这是配置问题、angular-plotly.js 问题,还是符合预期的 Plotly 行为,并提供清晰的最小复现或解释。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- data-visualization, frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100