3 ms·
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
by bradleyland 16y ago
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/ 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 have an acceptable average response time, but still have a high level of deviation. Let's say you have an app where, on average, one out of six requests is an entire order of magnitude slower than other requests:
# Ruby code where r is response in ms
r = [
100,
100,
100,
100,
100,
1000
]
r.inject{ |sum, ms| sum + ms }.to_f / r.size # => 250
So my average response time is 250ms, which I may consider acceptable, yet some responses are taking 1000ms, which I wouldn't consider acceptable. With a simple line chart, I wouldn't see the significant deviation. With a chandlestick chart, the upper boundary would be blindinly obvious.
- sparky 16y agoCan 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.
- bradleyland 16y agoSure. 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.
- piranha 16y agoProtovis can do candlestick charts: http://vis.stanford.edu/protovis/ex/candlestick.html http://vis.stanford.edu/protovis/ex/candlestick.html
- bradleyland 16y agoI can't thank you enough for that link, so I'll just say it simply. Thank you!
- endtime 16y agoMy chart lib (not yet released) supports candlestick charts too...and the fact that not many libs have them (and ProtoVis has no IE support) is part of why I ended up writing my own. Example: http://track.com/charts/show-chart/2/ http://track.com/charts/show-chart/2/
- endtime 16y ago(whoops, deleted it by accident - http://track.com/charts/show-chart/8/ http://track.com/charts/show-chart/8/ works though)