touchWX使用 echarts
<button bindtap="init" wx:if="{{!isLoaded}}">加载图表</button> <button bindtap="dispose" wx:if="{{isLoaded && !isDisposed}}">释放图表</button> <ec-canvas het="200" class='my_echarts' wx:if="{{!isDisposed}}" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>