.chart-container {
  width: 100%;
  background: #fff;
  padding: 20rpx;
  box-sizing: border-box;
}

.loading, .error {
  text-align: center;
  padding: 40rpx;
  color: #999;
}

.chart {
  width: 100%;
}

ec-canvas {
  width: 100%;
  height: 100%;
} 