Skip to Content
-1

How to change the line colours of line graph in abap??

Hi all,

I want to change the default line colours and add different colours to the line graph using the function GFW_PRES_SHOW or any other function that can pass line colours..

Thanks,

Pavithra

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 05, 2017 at 08:32 AM

    My advice is to use the later technology (object-oriented) in place of the old function modules.

    You should have the class cl_gui_chart_engine present on your system. This one is not limited to 32 values and offers a lot of new functionalities. The settings of the graphics are stored into a XML string (you can generate it through a dedicated tool Chart Designer). You can also create a transformation that will build the XML string if you foresee to use it often.

    Look at this article:

    http://abapblog.com/articles/how-to/29-create-a-nice-looking-chart-with-cl-gui-chart-engine-part-1-customizing

    Add comment
    10|10000 characters needed characters exceeded