I encountered a problem using echarts-for-weixin.
the chart does not load properly when written like this. I don"t know if it"s because I wrote it wrong or because I don"t support it.
<view class="container">
<view wx:if="">
<ec-canvas id="mychart-dom-pie" style="width:100%;height:260px;position:absolute;" canvas-id="mychart-pie" ec="{{ ec }}"></ec-canvas>
</view>
</view>
and you can write like this:
<view class="container">
<ec-canvas id="mychart-dom-pie" style="width:100%;height:260px;position:absolute;" canvas-id="mychart-pie" ec="{{ ec }}"></ec-canvas>
</view>