by editable what I mean is that the graph can be changed by changing the
supporting values.
(For e.g. Suppose, revenues were 900 KUSD and the client wants to show it as
1 MUSD, he should be able to do that).

Please suggest me a solution for this..



Such a solution would imply using a ActiveX component and that's not supported by HSLF. Alas, the "dynamic" approach is not possible.

Consider the following workarounds:

 - use Excel instead of PPT. Create a template file with a chart, modify the 
data and the chart should be updated.
- re-generate ppt on the server, not on client. That is, if the client wants to show it as 1 MUSD, he should send a request and get the updated file.

Yegor






Yegor Kozlov wrote:
What exactly do you mean by "editable" charts? If you mean MS Graph object
- it is not yet supported.
However, it is possible to draw a chart. This way it will be a native ppt
shape. You can resize, ungroup, do any standard operations on ppt shapes, etc.

See slide10() in
http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java

Some time ago a user reported using PPGraphics2D with JFreeChart,
http://www.jfree.org/jfreechart/.

Yegor

I need to generate powerpoint presentation. The presentation has
different
kinds of graphs (bar graphs, line graphs) which should be editable once
the
ppt is delivered.(So can not use images).
I tried using apache poi for the same, but it doesnot support editable
charts and graphs.Kindly help me


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to