peity icon indicating copy to clipboard operation
peity copied to clipboard

Request: Bullet Chart / Progress Chart

Open ghost opened this issue 9 years ago • 2 comments

Would it be possible to make a new chart type, based on this image:

image

I think it's called a bullet chart. Though really, what I'm doing is a progress chart.

I'd normally do a DIV with a % width but I feel an SVG is better suited for this task, especially on smaller screens. I think this chart type would suit Peity.

ghost avatar Mar 30 '15 19:03 ghost

One of the points of Peity is that it's progressive and "upgrades" a simple string of numbers into something that's more visually useful and while it's possible to add many kinds of chart it looks like the data required by a bullet chart couldn't be meaningfully encoded as a simple list of numbers.

On the other hand a progress bar would be simple, see the docs for registering your own custom chart type. Pull requests welcome!

benpickles avatar Mar 31 '15 12:03 benpickles

Ah I see. I'll have a play around.

ghost avatar Apr 01 '15 15:04 ghost