store x and y scales

This commit is contained in:
Justin Palmer 2013-01-29 13:56:44 -08:00
parent 7b586d85f8
commit 3cb4519230
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ class EditorStatsView extends ScrollView
"#{hour}:#{minute}"
d3 = require 'd3.v3'
x = d3.scale.ordinal().domain d3.range(60)
y = d3.scale.linear()
@activate: (rootView, state) ->
@instance = new EditorStatsView(rootView, state?.eventLog)

View File

@ -1,6 +1,6 @@
.editor-stats {
position: absolute;
height: 200px;
height: 50px;
width: 100%;
bottom: 0;
left: 0;