                 width: $el.width()
                 height: $el.height()
             @graph.update()
-        @member_series.renderer.graph = @graph
         
         xaxis = new Rickshaw.Graph.Axis.Time graph: @graph
         @graph.render()



SECS_IN_MONTH = 86400 * 27
class @ActivityScoresView extends Backbone.View
    initialize: (@collection, options) ->
        @options = _.extend {}, options

                magnitude: 0, count: 0
        
        @member_series =
            color: "rgba(0, 192, 192, 1.0)"
            name: "Activity"
            data: []
            stack: false
            renderer: "stack"
            interpolation: "step-after"

        @avg_series =
            color: "rgba(0, 0, 0, 0.3)"
            name: "Average activity"
            data: []
            stack: false
            renderer: "line"
            interpolation: "step-after"
        
        @graph = new Rickshaw.Graph
            width: $el.width()
            height: $el.height()
            element: $el[0]
            renderer: "multi"
            interpolation: "step-after"
            stack: false
            series: [@member_series, @avg_series]
        $(window).resize =>
            # Come on! Do scalable by default
