title: Resizing legend and axis title in a apache poi bar chart
body: <p>I drew a 3D stacked bar chart using apache poi and I have trouble manipulating the font size of the left axis title and the legend of the chart. I have looked at the ooxml documentation found <a href="http://www.datypic.com/sc/ooxml/t-draw-chart_CT_Bar3DChart.html" rel="nofollow noreferrer">here</a> but couldn't identify which object is responsible for this. I have added a piece of my code and the resulting chart, I appreciate any help directing me on the right path.</p>
  <pre><code>    XSSFSheet sheet = wb.getSheetAt(0);
  
      // Bar chart coordinates
      XSSFDrawing drawing = sheet.createDrawingPatriarch();
      XSSFClientAnchor anchor = drawing.createAnchor(0, 0, 0, 0, 0, 37, 16, 47);
  
      XSSFChart chart = drawing.createChart(anchor);
  
      // configure axis properties
      XDDFCategoryAxis bottomAxis = chart.createCategoryAxis(AxisPosition.BOTTOM);
  
      XDDFValueAxis leftAxis = chart.createValueAxis(AxisPosition.LEFT);
      leftAxis.setTitle(&quot;Call Duration&quot;);
  
      // font size for left axis labels (ticks)
      leftAxis.getOrAddTextProperties().setFontSize(8d);
  
      leftAxis.setCrosses(AxisCrosses.AUTO_ZERO);
      leftAxis.setCrossBetween(AxisCrossBetween.BETWEEN);
  
      XDDFChartData data = chart.createData(ChartTypes.BAR3D, bottomAxis, leftAxis);
  
      // create legend
      XDDFChartLegend legend = chart.getOrAddLegend();
      legend.setPosition(LegendPosition.BOTTOM);
  
      /*DATA ADDITION HERE*/
  </code></pre>
  <p><a href="https://i.stack.imgur.com/cpywJ.png" rel="nofollow noreferrer">output bar chart</a></p>