app/assets/javascripts/plasticine/line.coffee in plasticine-1.2.6 vs app/assets/javascripts/plasticine/line.coffee in plasticine-1.2.7
- old
+ new
@@ -63,10 +63,10 @@
@drawXAxis()
@drawLegend(data)
d3.select(window).on("resize." + @holder.attr("id"), () => @resizeX())
-
+ d3.select("##{@holder.attr('id')}").on("refresh", () => @resizeX())
refreshLines: () ->
self = this
@holder.find('g.element').remove()