Skip to Content
avatar image
Former Member

How i create Bar chart using Smartform??

Hi,

Recently I got requirement for creating bar chart using smartform, please help me out ??

Regards,

Tiya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 14, 2015 at 05:44 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 05: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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • avatar image
    Former Member
    Jan 14, 2015 at 06:09 AM
    Add comment
    10|10000 characters needed characters exceeded