docs: function getViewRect(seriesModel, api) {
      return layout.getLayoutRect(
          seriesModel.getBoxLayoutParams(), {
              width: api.getWidth(),
              height: api.getHeight()
          }
      );
  }