Lollipop chart
未关闭
还没有人认领这个 Issue。
Area: Core API
Type: Enhancement
- 主要语言
- F#
- 星标
- 860
- 派生
- 99
- 平均合并
- 22 分钟
- 30 天内合并 PR
- 1
描述
Description
A Lollipop chart is a categorical chart that is basically a bar chart replaced by points being connected by a line to the zero-line of the reference axis representing the data. It can be helpful to reduce visual noise when all values have a similar height [1].
Example:
Pointers
- Ideally, you start prototyping in a scripting or notebook environment where you can iterate fast. installation instructions can be found here: https://plotly.net/#Installation
- Charts like this that are using baseline trace types to create a new chart type should only be implemented in the top-level Chart API. An example where this is already done is the Range chart that combines a set of differently styled line charts.
- When possible, use
#IConvertiblefor data input, as this allows forstrings, number types such asintandfloat, andDateTime.
References
Hints (click to expand if you need additional pointers)
- The most suitable base chart for this is a set of line charts that each connect the zero line to a data point
- The high-level function should look quite similar to the base implementation of
Chart.Bar
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/Plotly.NET/ChartAPI/Chart2D.fs 开始,阅读现有的 Range chart 和 Chart.Bar 实现。在脚本或 notebook 环境中制作原型,使用从零连接到每个数据点的折线图。完成的标准是提供一个顶层 lollipop chart API,其数据输入支持 #IConvertible,并遵循库中现有的图表模式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- fsharp
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100