jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 232 forks source link

Feature/timeseries current value #48

Closed drspin closed 11 years ago

drspin commented 11 years ago

added @show_current to timeseries graph

show_current: true to show current/last value in the graph legend. Useful in tracking current/last value of the graph. Defaults to false.

Small refactor on "current value" -- since I'm already pulling the last datapoint in process_data, I'm reusing that in by_type "current".

jondot commented 11 years ago

yup, this looks great, thanks!