12-23-2014 10:23 PM
Hi
I am trying to create Bar graph in Smartforms with table data following thread http://scn.sap.com/thread/1323437 replied by Sandip Panigrahi. Actually I am stuck at creating empty space text to reduce background color to show as graph. Can anyone help me?
Thanks
Prasad
Posted by Sandip Panigrahi:
"You create a window resembling the bar with some background color. If you print window, it will print like a bar with color that you have given.
Now, create a table with one cell whose position and width should overlap the created window. Then according to the data you fill up the table (note that the contents of the cell will be space). That way the window will be reduced from the top and hence will represent a bar displaying data.
Similarly you can create other windows and their corresponding tables so at the end it looks like a bar-chart. It works well and I have dont it.
First you try with one window and table. Let me know if you need more clarification.
Regards,
Sandip.
Edited by: Sandip Panigrahi on Apr 28, 2009 4:09 PM"
12-24-2014 3:02 AM
Hi Parsad,
The main window with one background color, bar window with a 'TABLE'.
Say main window height 50. You know the output sequence is from top to bottom, then if you want output a height 30 bar. you need fill 20 blank cell to 'TABLE'. that`s the 'reduce' manning.
Full detail show in this wiki, Smartform with BAR GRAPH - ABAP Development - SCN Wiki
regards,
Archer
12-24-2014 4:20 PM
Hi Archer
I am able to get it as I missed the point of both windows should overlap each other with same dimensions. One with some color and other one with white line using table with data to reduce color.
Thanks for your help to rethink how I am trying to understand.
Prasad