plotly / plotly/Plotly.NET

Lollipop chart

Offen
#417 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Area: Core API Type: Enhancement
Vorherrschende Sprache
F#
Sterne
860
Forks
99
Ø Merge
22 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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 #IConvertible for data input, as this allows for strings, number types such as int and float, and DateTime.
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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne in src/Plotly.NET/ChartAPI/Chart2D.fs, indem du die bestehenden Implementierungen von Range chart und Chart.Bar liest. Erstelle einen Prototyp in einer Skript- oder Notebook-Umgebung und verwende Liniendiagramme, die vom Nullpunkt zu jedem Datenpunkt verbunden sind. Erledigt ist die Aufgabe, wenn es eine Lollipop-Chart-API auf oberster Ebene mit einer Dateneingabe gibt, die #IConvertible unterstützt und den bestehenden Chart-Mustern der Bibliothek folgt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
fsharp
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.