         
     snapshot: () ->
         Canvas.clear()
-        #@sun.emit()
+        @sun.emit()
         #@h.update(count)
 
-        @p.hline([colPos[0].x,colPos[0].y])
-        @p.vline([colPos[0].x,colPos[0].y])
+        #@p.hline([colPos[0].x,colPos[0].y])
+        #@p.vline([colPos[0].x,colPos[0].y])
 
         colPos.pop() for c in colPos
 

        @l2.attr("y2", Ym)

    roofFn: (x) ->
        xm = @xScale.invert(@marker0.attr('cx'))
        ym = @yScale.invert(@marker0.attr('cy'))
        (x<0)*(-0.5+(x+0.5)*(2*ym+1)/(2*xm+1)) + (x>=0)*(ym+(x-xm)*(1-2*ym)/(1-2*xm))

    roofLine: (xFixed, yFixed) ->
        @plot.append("line")

    width = 480 - margin.left - margin.right
    height = 480 - margin.top - margin.bottom
    
    constructor: (@xm=0, @ym=0) ->

        super "plot"
        chartArea = @obj
