chart icon indicating copy to clipboard operation
chart copied to clipboard

Consider adding histogram support

Open szaydel opened this issue 6 years ago • 5 comments

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.

szaydel avatar Jul 06 '17 16:07 szaydel

I agree. I'd be reluctant to reinvent the wheel, but it seems the wheel hasn't been invented yet: https://github.com/chartjs/Chart.js/issues/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 avatar Jul 08 '17 01:07 marianogappa

Some slow progress seems to be happening on the chartjs side: https://github.com/chartjs/Chart.js/issues/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.

marianogappa avatar Dec 11 '17 05:12 marianogappa

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.

szaydel avatar Dec 11 '17 05:12 szaydel

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 avatar Feb 07 '18 15:02 spitzbubchen

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

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

spitzbubchen avatar Feb 07 '18 20:02 spitzbubchen