message: refactor(Display): Preview with alter initial-scale value
diff: @@ -140,10 +140,20 @@ export class Preview extends React.Component<IPreviewProps, IPreviewStates> {
  nextScaleWidth = clientWidth / width
  }
  if (scaleHeight !== nextScaleHeight || scaleWidth !== nextScaleWidth) {
  + if (nextScaleHeight === nextScaleWidth) {
  + this.scaleViewport(nextScaleHeight)
  + this.setState({ scale: [1, 1] })
  + } else {
  this.setState({ scale: [nextScaleWidth, nextScaleHeight] })
  }
  }
  }
  + }
  +
  + private scaleViewport = (scale: number) => {
  + const viewport = document.querySelector('meta[name=viewport]')
  + viewport.setAttribute('content', `width=device-width, initial-scale=${scale}, maximum-scale=${scale}, user-scalable=0`)
  + }
  private getChartData = (renderType: RenderType, itemId: number, widgetId: number, queryConditions?: Partial<IQueryConditions>) => {
  const {
  