Feature/timeseries current value

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".