使用 Aspose Words for Java 插入条形图
有没有办法使用 Aspose Words for Java 在 Ms Word 文档中创建和插入条形图?我找不到办法做到这一点。谢谢。
Is there a way of creating and inserting a bar chart in a Ms Word document using Aspose Words for Java? I can't find a way to do this. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Aspose.Words for Java 目前不允许您在 Word 文档中创建条形图。但是,如果您只想添加静态条形图,您可以尝试 Aspose.Cells for Java 到 创建条形图并将其渲染为图像。之后,您可以使用 Aspose.Words for Java 在 Word 文档中添加此条形图图像。您认为这对您的情况有帮助吗?如果是这样,那么您可以使用以下代码片段创建条形图并将其呈现为图像:
披露:我在 Aspose 担任开发人员传播者。
Aspose.Words for Java currently doesn't allow you to create the bar chart in Word documents. However, if you just want to add a static bar chart, you may try Aspose.Cells for Java to create bar chart and render it to image. After that, you can add this bar chart image in Word document using Aspose.Words for Java. Do you think this might help in your scenario? If it does then you can use the following code snippet to create and render the bar chart to image:
Disclosure: I work as developer evangelist at Aspose.