Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Graph Background color

Former Member
0 Kudos

Hi,

We have a requirement in which the background color of the Graph should not be Grey color.

How to change the Background color of a Graph?

I'm using custom function module of 'GFW_PRES_SHOW_MULT'.

I tried this code:

CALL METHOD bundle_display->if_customizing~set
                EXPORTING
                  attr_id = cl_cu_display_context=>co_bg_clr_plt_id
                  value   = 1.

But it is not working

Please do help...

Thanks,

Sowmya

2 REPLIES 2

Former Member
0 Kudos

Hi Sowmya,

Try this for:

Activating the Graph Background Color

Select Options u2192 2D options to call up the 2D Options dialog window.

Setting the Background color option causes the background for the 2D frame to be colored a particular color. You can specify this color by setting the 2D background variable (in the Color Assignment menu).

If you turn this option off, the background for the 2D frame takes the color of the background for the entire view.

Hope this helped you!!

Regards,

Nishi.M

0 Kudos

Hi Nishi,

Thanks for your reply.

There is no option called 2D in the FM 'GFW_PRES_SHOW_MULT'.

We've presentation type here, and I'm providing 'GFW_PRESTYPE_LINES' - Becoz we want a Line-Graph.

Please let me know the code to modify the Graph Background. It is appearing as Grey Color.

Thanks & Regards,

Sowmya