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: 

Not getting colors in SAP Graphical frame work

Former Member
0 Kudos

Hi All,

I'm new to sap graphical frame work. From a standard report i have done my own report. In my own report 2 charts are there. one is Pie chart and the other is Time chart.

I'm getting colors in standard report (GFW_PROG_TIME_AXIS ) where as for the same lines of code i'm not getting colors in my report Time chart. Below is the piece of code.



  CALL METHOD bundle_display->if_customizing~set
    EXPORTING attr_id = cl_cu_display_context=>co_bl_clr_plt_id
              value   = 7. " red

For the above code in standard report (GFW_PROG_TIME_AXIS ) I'm getting colors but in my report for Time chart I'm not getting.

Please suggest me any suggestion.

Thanks

G.s.naidu

2 REPLIES 2

Former Member
0 Kudos

Hi All,

Any suggestions please

Regards

G.s.naidu

0 Kudos

Hi,

Before investing too much time in the GFW wouldn't it make sense to directly start with the latest charting generation?

Use the chart engine instead! Have a look at [this blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13313] [original link is broken] [original link is broken] [original link is broken]; that shows how to easily create a chart in ABAP.

BTW, the colors can be easily set using the SAP Chart Designer (see SDN download area).

Regards, Kai