0

我有以下 iframe,其显示图表如下:-

<iframe id="customchart" src="https://apps.powerapps.com/play/*********" width="100%" height="500px"></iframe>

在此处输入图像描述

现在我想旋转 iframe,使图表看起来像这样:-

在此处输入图像描述

这可能吗,使用纯 JavaScript 或 CSS?

谢谢

4

1 回答 1

0

这对你有用吗?

注意:这将不起作用,因为https://apps.powerapps.com/play/******** * 不存在,但如果您输入其他站点 URL,它将起作用。

    #customchart {

        transform: rotate(90deg);
      }
<iframe id="customchart" src="https://apps.powerapps.com/play/*********" width="100%" height="500px"></iframe>
  

于 2021-03-01T21:44:17.837 回答