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

Consider adding histogram support #22

Open
szaydel opened this issue Jul 6, 2017 · 5 comments
Open

Consider adding histogram support #22

szaydel opened this issue Jul 6, 2017 · 5 comments

Comments

@szaydel
Copy link

szaydel commented Jul 6, 2017

This is a great tool to be sure, and I think it would be much better if it supported histograms. Often, when you are just trying to get a sense for some data, histogram is the most useful initial visualization.

@marianogappa
Copy link
Owner

I agree. I'd be reluctant to reinvent the wheel, but it seems the wheel hasn't been invented yet: chartjs/Chart.js#3900

There doesn't seem to be Histogram support planned in the short term. I haven't ever coded a histogram chart before, so this sounds like an interesting challenge. Let me think about it.

PRs are also welcome, of course.

@marianogappa
Copy link
Owner

Some slow progress seems to be happening on the chartjs side:
chartjs/Chart.js#3900

I'm sorry but I've been too busy to work on this so far; and I don't think I'll be able to any time soon.

@szaydel
Copy link
Author

szaydel commented Dec 11, 2017

It makes sense to wait for the library to implement support for it. If I have spare time, I may just try to implement something with bars, but not really sure if extending from Chart.js into this app is most sensible thing to do.

@spitzbubchen
Copy link

I'm also looking for histogram support for scientific plotting purposes. I'm wonder if someone could post a jsfiddle using some rough workaround approach (bar charts or something) until this feature is supported.

@spitzbubchen
Copy link

spitzbubchen commented Feb 7, 2018

Here is a jsfiddle that I cobbled together over lunch using a bar chart to make a histogram.

https://jsfiddle.net/s8qas3km/17/

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

3 participants