title: Openpyxl change the dimension of a chart
body: <p>In openpyxl 2.2 I was able to set the dimension of a chart by using the drawing methods of the chart object:</p>
  <pre><code>chart = openpyxl.charts.BarChart()
  chart.drawing.top = 100
  chart.drawing.left = 100
  chart.drawing.width = 600
  chart.drawing.height = 600
  </code></pre>
  <p>In the new versions (&gt;2.3.3), this method seems to not exist any more.
  I read the online manual and I find as follows:</p>
  <p><strong>&quot;The chart can be positioned within its container. x and y adjust position, w and h adjust the size . The units are proportions of the container. A chart cannot be positioned outside of its container and the width and height are the dominant constraints: if x + w &gt; 1, then x = 1 - w.&quot;</strong></p>
  <p>So I thought that I had to change the container first. I searched in the manual for the class <code>openpyxl.chart.chartspace.ChartContainer</code> but I was not able to find a method to set its width and height.</p>
  <p>How can I display a chart with fixed custom dimensions?</p>