title: java create a chart in a powerpoint using APACHE POI
body: <p>How do we create a chart in a ppt in java using apache poi.
  Which POI API do we use.
  Below is code I am using to create a text box</p>
  
  <pre><code>XSLFSlide slide = pptx.createSlide();
  XSLFTextShape textShape = slide.createTextBox();
  textShape.setText(data);
  </code></pre>
  
  <p>The slide object doesnt contain any api for creating a chart.</p>
  
  <p>Any solution to this?</p>
  
  <p>Thanks in advance</p>