 
     levelPoints.splice(0, levelPoints.length - timeframeDays) if levelPoints.length > timeframeDays
 
-    @analytics.graphs[0].lines.push
+    graph.lines.push
       lineID: startedSubsID
       enabled: true
       points: levelPoints


    levelPoints.splice(0, levelPoints.length - timeframeDays) if levelPoints.length > timeframeDays

    @analytics.graphs[0].lines.push
      lineID: totalSubsID
      enabled: true
      points: levelPoints

    startedSubsID = 'started-subs'
    cancelledSubsID = 'cancelled-subs'
    netSubsID = 'net-subs'
    averageNewID = 'average-new'
    lineMetadata = {}
    lineMetadata[totalSubsID] =
      description: 'Total Active Subscriptions'
