01-14-2015 5:34 AM
Hi,
Recently I got requirement for creating bar chart using smartform, please help me out ??
Regards,
Tiya
01-14-2015 5:44 AM
01-14-2015 5:49 AM
Hi Sijin,
I go through this wiki but still my problem can't short out??How I fill colors in table as shading boxes not allowed in table..
01-14-2015 5:58 AM
Actually, not fill color to table, but using blank value to cover the background color of table.
regards,
Archer
01-14-2015 5:47 AM
Hi Tiya,
Sice smartforms is working with Fix Diagram like logo, and charts are based on the Dynamic Inforamtion.
So you can change your requirement, like display the Pictorial information in other window and display the Tabular informaiton in Smartforms.
Use: CL_GUI_HTML_VIEWER class to display the Information in Chart.
http://scn.sap.com/docs/DOC-40717
You can follow the above link, where the information are displaying as chart format.
Regards.
Praveer.
01-14-2015 6:31 AM
Hi Tiya,
I was going through with the Smartform with BAR GRAPH - ABAP Development - SCN Wiki
It's a vary complecated kind of solution,
Suppose you have to display 5 Bars,
Here, 5 Single cell color, mean you have to create 5 line type, where each column will contains the color for bar.
Like that you have to create for two column, 3 column, 4 column.
and one final line type, where every column will contains the color.
After that you have to write logic to arrange the Line Information based on your bar chart information.
To display the chart in Samrt forms.
If i suggest, try to provide the informaiton in HTML based page and provide a Print option to take print out for the same.
Regards.
Praveer.
01-14-2015 6:09 AM