Skip to content

Commit

Permalink
prototyping the next x axis
Browse files Browse the repository at this point in the history
  • Loading branch information
jpettersson committed Nov 7, 2012
1 parent 1716b10 commit bc7e955
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/assets/javascripts/power.js.coffee
Expand Up @@ -65,11 +65,16 @@ $ ->
yAxis.render()

# time = new Rickshaw.Fixtures.Time
# days = time.unit 'days'
# xAxis = new Rickshaw.Graph.Axis.Time
# timeUnit: days
# graph: graph
# time.units.push
# name: 'day_of_month'
# seconds: 86400
# formatter: (d)-> "November #{d.getUTCDate()}"

# tUnit = time.unit 'day_of_month'
# window.xAxis = new Rickshaw.Graph.Axis.Time
# graph: graph
# timeUnit: tUnit

# xAxis.render();

try
Expand Down

0 comments on commit bc7e955

Please sign in to comment.