Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-son committed Mar 8, 2016
1 parent 87864d9 commit 4c1643f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,9 @@ $ ->
type: "image/svg+xml"

$('#print-vis-btn').click =>
# if (@chart.chartWidth > 700)
# @chart.setSize(700, @chart.chartHeight, false)
# Resize chart if it is too big to print
if (@chart.chartWidth > 700)
@chart.setSize(700, @chart.chartHeight, false)
@chart.print()
# Callback to detect when print controls have been closed
callback = ->
Expand Down

0 comments on commit 4c1643f

Please sign in to comment.