title: How to set chart width and height with phpSpreadsheet
body: <p>I'm trying to set the size of an Excel chart created by phpSpreadsheet.</p>
  
  <p>I used the following code, but the layout settings do not seem to have any effect:</p>
  
  <pre><code>// Define chart position and size
  $layout = new Layout();
  $layout-&gt;setXPosition(10);
  $layout-&gt;setYPosition(50);
  $layout-&gt;setWidth(400);
  $layout-&gt;setHeight(300);
  
  //  Set the series in the plot area
  $plotArea = new PlotArea($layout, [$series]);
  //  Set the chart legend
  $legend = new Legend(Legend::POSITION_RIGHT, null, false);
  
  $title = new Title('Test');
  $yAxisLabel = new Title('y');
  
  //  Create the chart
  $chart = new Chart(
      'chart1', // name
      $title, // title
      $legend, // legend
      $plotArea, // plotArea
      true, // plotVisibleOnly
      0, // displayBlanksAs
      null, // xAxisLabel
      $yAxisLabel  // yAxisLabel
  );
  </code></pre>