Skip to Content
-1

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

Jan 05, 2017 at 06:49 AM

103

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

François Henrotte Jan 05, 2017 at 08:32 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded