highlight the max minute

This commit is contained in:
Justin Palmer 2013-01-30 10:14:12 -08:00
parent bc61c3ca98
commit 1afb2fbeb5

View File

@ -97,6 +97,8 @@ class EditorStatsView extends ScrollView
.attr('height', (d, i) -> h - y(d.value)) .attr('height', (d, i) -> h - y(d.value))
.attr('y', (d, i) -> y d.value) .attr('y', (d, i) -> y d.value)
bars.classed('max', (d, i) -> d.value == max)
setInterval update, 5000 setInterval update, 5000
track: => track: =>