<view class="container" style="width:{{width}}px;height:{{height}}px;">
  <charts canvasId="ddchart-dom-bar" onDraw="onDraw"></dd-charts>
</view>