Created
October 13, 2016 07:55
-
-
Save goofmint/ab74e1dab51904752ccfa5d55087fe38 to your computer and use it in GitHub Desktop.
7.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"#expand click": function() { | |
this._setChartSetting(this._width *= 2, this._height *= 2); | |
}, | |
"#shrink click": function() { | |
this._setChartSetting(this._width /= 2, this._height /= 2); | |
}, | |
_setChartSetting: function(width, height) { | |
this._chartController.setChartSetting({ | |
width: width, | |
height: height | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment