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>
    

  

posted @ 2018-06-26 19:13  霜末之冬  阅读(700)  评论(0编辑  收藏  举报