Epoch – A real-time charting library
fastly.github.io
fastly.github.io
One obvious thing that felt like Epoch was missing was hover-over info. At least I couldn't spot it on the examples.
[0]https://github.com/shutterstock/rickshaw [1]https://github.com/kenhub/giraffe
Makes common things easy and gets the hell out of your way when you want to customise things with D3.
<dimple-chart data="data" height="300" width="300" margin-bottom="15%" type="bar">
<dimple-axis position="y" type="measure" field="Awesomeness"></dimple-axis>
<dimple-axis position="x" type="category" field="Word" orderBy="Word"></dimple-axis>
<dimple-legend x="10" y="10" width="500" height="30" ></dimple-legend>
</dimple-chart>
I just started building this using Mozilla's x-tags. Mainly to clean up my own app, others are welcome to take a look.But there's also: http://tenxer.github.io/xcharts/
It's pretty clear that library needs better support for features like this moving forward. At the very least, there should be consistent and straightforward way to extend Epoch to help with these sorts of things.
If anyone is interested in continuing the discussion I've opened up a new issue in the repository specifically targeting hover behaviors: https://github.com/fastly/epoch/issues/63
(This approach unfortunately rules out D3, which mutates the DOM directly and doesn't have smart diffing AFAIK).
Anyone know of a reactive charting library?
For instance, the other day I was trying to make a responsive chart, but couldn't due to react not supporting the 'viewbox' attribute. I then tried npm installing from the repo directly, which didn't work b/c they have a custom npm build script that needs to be ran (and after some hacking, I was still running into weird errors w/ v0.11-alpha). Anyways, react seems like it will be very interesting for svg charting once they fully support all svg attributes.
Epoch appears to be a good alternative for people who just want to quickly build charts for today's web. Great work.
[1] http://www.highcharts.com/demo/spline-irregular-time
The real-time charts are build with a timestamp component which, given a specific time granularity (second, minute, etc.), could be used to handle gaps. Basic charts might require an option to switch on/off such behavior.
In case you're interested, I've opened up a new issue in the repository: https://github.com/fastly/epoch/issues/64
Thanks for the great suggestion!
[1] http://dygraphs.com/gallery/#g/range-selector [2] http://nvd3.org/examples/lineWithFocus.html
1. SaaS pricing and licensing of Highcharts was more suitable given the scale of our team/application.
2. None of the unique features from FusionCharts had any purpose for our app.
3. At the time, Highcharts had better design out of the box (although FC has nearly caught up in this regard).
We have found Highcharts to small in size, quick in rendering, and flexible in structure to allow us add custom plugins, so we haven't looked back.
At this point I see the two options as very comparable on nearly every dimension, but it's still worth experimenting with both to see which one fits your style and product better (skinning, performance, flexibility for your feature-set etc).
Usually I end up with multiple charts or some SCADA program has made it so the Y-axis scale changes when you select a series if there is only 1 chart.
Who else would a JavaScript library be built for?