ionic-team / ionic-team/ionic-framework

feat: ion-range values bar chart

未关闭
#30,936 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 14 小时
30 天内合并 PR
50

描述

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.

### Describe the Feature Request

Introduce an option to add quantitive values behind the tick values to an ion-range which renders a bar chart for each "tick" above it.

### Describe the Use Case

Used in range filters when displaying e.g. a year range 2022 - 2024 and wanting to show how many items are assigned to each year.

Image

### Describe Preferred Solution

_No response_

### Describe Alternatives

_No response_

### Related Code

_No response_

### Additional Information

_No response_

贡献指南

打开贡献指南

调研方向

首先定位 ion-range 组件并检查其当前的 tick-value 行为。定义定量值、bar-chart 渲染、范围、样式和可访问性应如何工作,然后确定相关的组件测试和文档。当提议的选项已实现,并且针对所请求的 year-range 用例具备有文档记录的行为和覆盖率时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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