Live data from Hacker News

Ask HN: What charts javascript library to use?

news.ycombinator.com

21–30 of 67 posts

Re: Ask HN: What charts javascript library to use?

#23

We use Flot currently, but we're looking at purchasing a license for Emprise. Specifically, they offer candlestick charts, which are difficult to find elsewhere, yet absolutely critical in expressing the volatility of series data. http://www.ejschart.com/ IMO, candlestick charts are way underutilized. Take application response time graphs for example. Most reporting suites rely on moving averages. If your application…

Can you just have multiple lines for Nth percentile and/or min and max, rather than candlesticks? You'd want to bold or otherwise emphasize the mean or median line, I think, but it shouldn't be too hard to read, since the lines shouldn't cross.

Re: Ask HN: What charts javascript library to use?

#24

At New Relic, we use HighCharts ( http://highcharts.com/ ). We constantly get questions from our customers about which library we use, because they like the way they look and function. Highly recommended.

I second highcharts, i find it an absolutely excellent chart library. I even created a PHP wrapper for it so i could control it from the backend. Oh and I did this because i was bored: http://zestmonkey.com/charts.php

Is that lib. available? I was nearly going to write one, but I would rather not start from scratch.

Re: Ask HN: What charts javascript library to use?

#26
post #8

We use the Google Charts API - it's free and very good. But I haven't seen many others comment about it. Is there a problem with using that?

The only problem I've run into is an issue with URLs being too long when trying to chart large amounts of data.

Re: Ask HN: What charts javascript library to use?

#27
post #8

We use the Google Charts API - it's free and very good. But I haven't seen many others comment about it. Is there a problem with using that?

I think the main problem with the google charts API is just that, it's not a library that is self contained. You need access to google's servers. Second, if you have sensitive data, you rather not send it to google.

Re: Ask HN: What charts javascript library to use?

#28
post #23

We use Flot currently, but we're looking at purchasing a license for Emprise. Specifically, they offer candlestick charts, which are difficult to find elsewhere, yet absolutely critical in expressing the volatility of series data. http://www.ejschart.com/ IMO, candlestick charts are way underutilized. Take application response time graphs for example. Most reporting suites rely on moving averages. If your application…

Can you just have multiple lines for Nth percentile and/or min and max, rather than candlesticks? You'd want to bold or otherwise emphasize the mean or median line, I think, but it shouldn't be too hard to read, since the lines shouldn't cross.

Sure. Ultimately, it all comes down to preference. So yes, you could represent your min/max as separate lines, but candlestick charts are the most widely accepted means for representing volatility. That's why they're so widely used in finance.

Candlesticks are also useful for giving a good visual indicator of your interval, which is another area where line charts fall down. There is no visual clue given with a line chart that shows you whether you're looking at a 5 minute interval, 1 hour interval, or 1 year interval. The thickness of a candlestick relative to the x-axis (usually time) gives a strong visual clue about the interval.

Re: Ask HN: What charts javascript library to use?

#30
post #9

Google's visualization apis are amazing, cant recommend it enough. The chart ones are nice but you then also have to wrap it yourself to generate the GET request appropriately to the data.

The fact that it uses GET is a huge limitation IMO. Especially considering that the workaround is to use POST and iframes.

Especially when there are more functional, prettier alternatives

Post reply on HN