|
|
|
@ -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'}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}); |