mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 00:19:24 +03:00
store x and y scales
This commit is contained in:
parent
7b586d85f8
commit
3cb4519230
@ -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)
|
||||
|
@ -1,6 +1,6 @@
|
||||
.editor-stats {
|
||||
position: absolute;
|
||||
height: 200px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user