Y-axis 0 value is labelled as -0%, not 0%.
未关闭
还没有人认领这个 Issue。
bug
P3
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
Relevant link further discussing this problem.
When yaxis: {tickformat: "%"} is used, the 0 position on the y-axis shows as -0% rather than 0%. An example of the problem, still present on 22 May 2020, is shown in the link above.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
按照链接的社区讨论和示例,使用 yaxis: {tickformat: "%"} 的图表重现该问题。跟踪 y 轴刻度标签的格式化路径,以确定零为何会变成负零。完成标准是零刻度显示为 0%,同时其他百分比标签保持正确,并且为此情况提供覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100