diff --git a/src/com/fr/plugin/demo/demoWrapper.js b/src/com/fr/plugin/demo/demoWrapper.js index da2224b..2c62f80 100644 --- a/src/com/fr/plugin/demo/demoWrapper.js +++ b/src/com/fr/plugin/demo/demoWrapper.js @@ -10,4 +10,17 @@ demoWrapper = ExtendedChart.extend({ chart.setOption(option); }, + _resize: function (chart) { + chart.resize(); + }, + + _exportInit:function (dom, option) { + option.animation = false; + return this._init(dom, option); + }, + + _exportImage: function (chart) { + return chart.getConnectedDataURL({type: 'png'}) + } + }); \ No newline at end of file