03-11-2013 12:32 PM
Hi friends,
I have a requirement to plot a line graph for a given set of data. Now i went through some of the demo programs in the transaction GRAL but none confirm to my requirement. I need to plot minimum 36 points on the x axis (at least 3 years data for each month) and my Y- axis will have a range from -10 to 10. But the range -10 to 10 should lie above the x-axis. the program 'DEMO_GFW_PRES_SHOW' shows the negative values below the X-axis(mathematically perfect, but i am trying to plot sales data) and X axis can plot maximum of 32 points only....again i tried the program 'GRSTAT_2' (sine/cosine function), this plots negative values above the X-axis but, displays values like 1.5, 2.3,3.7, etc. etc on X-axis. So again it does not serve the purpose as i want whole numbers bot on X and Y axis.
Please let me know if you have any suggestions.
Best Regards,
MK.
03-12-2013 5:59 AM
Hello,
Unfortunately there is no way to print the graphics displayed in the demo program DEMO_GFW_PRES_SHOW_MULT. This is a just demo program and there is no further development on these demo programs to support new functionality.
You may need to check the class CL_GUI_CHART_ENGINE and use the same.
A good starting point for using the chart engine is the download of the SAP Chart Designer in SDN: in
http://www.sdn.sap.com/irj/scn/downloads look for the section of SAP Chart Designer and download the package.
Regards,
David