java create a chart in a powerpoint using APACHE POI

后端 未结 2 730
执念已碎
执念已碎 2020-12-15 13:22

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

XSLFSlide slide = pptx.cre         


        
2条回答
  •  情歌与酒
    2020-12-15 14:07

    What about the org.apache.poi.xslf.usermodel.XSLFChart Object ? I am unable to find a direct createChart method in this Object.

    But I am sure there must be something with this Object. Not much content available on stackoverflow on this.

    Has anyone created a chart using org.apache.poi.xslf.usermodel.XSLFChart in a pptx ? Grateful for the response.

提交回复
热议问题