descartes
descartes copied to clipboard
Client-side rendering
Perform client-side rendering of charts using D3, rather than relying on the Graphite png output. This will allow us to support interactive features like hover legends, "infinite" axes and multi-dimensional charts.
Just realized that Graphite's SVG output is a huge win in this area. We don't necessarily need to do D3 at all. Graphite's SVG seems to work quite well in the browser, at the expense of a little extra size.
Adding support for this now, but we're going to default to PNG output until https://github.com/graphite-project/graphite-web/pull/70 is merged.
Reopening this. I've seen some really bad SVG come out of Graphite's cairo. Probably need to reconsider doing this with D3 again.
I was just reminded by @Dieterbe about his https://github.com/Dieterbe/timeserieswidget project. Might be a good fit here.
it's designed to be a good fit [for graphite dashboards]. if it's not a good fit, it means i have a bug to fix.
#37 #47
@tehviking just pointed me to http://chartkick.com/, looks pretty :cool:.