06-02-2011 1:11 PM
Hi Experts!
Please, anyone has already created a pdf file showing a graph generated with CL_GUI_CHART_ENGINE??
Could anyone help me with this requirement?
Thanks in advance,
Best regards
06-02-2011 1:24 PM
Hi,
Please refer to this wiki link
http://wiki.sdn.sap.com/wiki/display/Snippets/CreatingchartsinSimpleABAP+Programs
Hope this would help you.
06-02-2011 1:43 PM
Hi,
You can show graph in the screen but printing using Smartform or even the latest adobe form does not support.
I am also serching solution of this problem for long but still did not get and did a work around ,
If you find a solution kindly let me know.
Regards
Bikas
06-02-2011 2:19 PM
ok,
thanks for your responses,
I'm searching as well.
if I get an solution I'll tell you.
thanks
06-13-2011 7:18 PM
Hy,
thanks a lot for your answers,
I got a solution following these steps:
http://tknight.org/sdn/show/24225
best regards
07-19-2011 2:45 PM
Hi,
I have the same problem as you. How do you get the data of the chart out of the chart object (cl_gui_chart_engine)?
On the solution you have found, smart form were used to show the graph on pdf, do know if there is any possibility to show the the graph on adobe forms?
Best regards
07-20-2011 2:49 PM
Hi,
I searched and found another solution, because with the code from the link above I got everytime a short dump, maybe I did something wrong.
The solution works with Adobe Form
1. I used the class cl_igs_chart_engine to create a chart with my data and customizing to get the binary data of the image.
2. Convert the binary tab to xstring.
3. You can use this xstring on the Adobe Form to display the image.
Maybe the following tips are useful.
*How to get the data of chart you can see in the class
CL_TIME_CHART_SIMPLE (use cl_gui_chart_engine for the chart but class cl_igs_chart_engine for saving the image)
*How to bind the image to the importing parameter (xstring)
/people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
Regards
07-29-2016 2:15 PM
Hello Ronaldo,
I have similar requirement.
The link yo mentioned is not working now. Can you please help me ?
Thank you very much for your help !
07-29-2016 2:30 PM
Hi Florian,
Can you please confirm if we have to use
- class CL_TIME_CHART_SIMPLE or
- cl_gui_chart_engine for the chart but class cl_igs_chart_engine for saving the image
Thank you for your help !
Best Regards,
harish Bhatt