Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Bullet Chart / Progress Chart #64

Open
ghost opened this issue Mar 30, 2015 · 2 comments
Open

Request: Bullet Chart / Progress Chart #64

ghost opened this issue Mar 30, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2015

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.

@benpickles
Copy link
Owner

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!

@ghost
Copy link
Author

ghost commented Apr 1, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant