derhuerst/svg-radar-chart

Captions on a path and oriented

Open

#11 ouverte le 20 janv. 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (13 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (93 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This is a desirable feature and relatively simple to achieve but I'm not that versed in node.js yet. The captions would look best if they would be in the angle and rotated so the letters are always upside down. Repeating the same image as in other issue for a demonstration (apologizing for that):

ref-radar-opt

Now this is quite good yet even better would to have the captions on the path. For that invisible circle segments (arcs) would need to be added to a chart and used as xlink:href attributes for captions (so they align with the arc). Best example for a coding help is here:

http://bl.ocks.org/nbremer/b603c3e0f7a74794da87

If this would be added to svg-radar-chart, together with alternate colors and possibly a parameter to have linear or logarithmic scales of column values (and scales to adapt as well) it would make svg-radar-chart fully complete and still small in size and versatile.

Guide contributeur