cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Business Graphics Editing

former_member187651
Active Participant
0 Kudos

Hello gurus,

I got the requirement of embedding Business Graphics on the webdynpro views. I have done the same. I am getting the business graphics changes on run time with values. Now I got the requirement to change the color of categories from default. As in default color for categories comes as : Blue -- Green -- Yellow --  etc .

Now I need the colors for categories like : Green -- Blue -- Red .

Please let me know how to edit the customizing to get the proper color for categories.

I have checked SDN but didn't get solution for the same.

Here In the context I have taken one Node say : Active type string , Under this node I have taken two attributes. One is Description type string , 2nd active_att type I.

I have set one supply function for the Active node say: supply_Active.

Under that supply_active method, my code is as below:

method SUPPLY_ACTIVE .

data:
lt_active type if_OVERVIEW=>elements_active,
active like line of lt_active,
v_rnd type I.

define random_genrate.
CALL FUNCTION 'GENERAL_GET_RANDOM_INT'
EXPORTING
RANGE = 90
IMPORTING
RANDOM = v_rnd.
end-of-definition.
active-description = 'In Line'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.

active-description = 'Critical'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.


active-description = 'Escalated'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.

node->bind_elements( lt_active ).
*
endmethod.

Please help.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mishra.

Not sure what you are talking about, but as far as I understand reading the given example, it seems that you want to change the color for each of the series, not the categories. And this can be done easily editing the BG customizing. Choose "Series" then "Standard series" option in the menu, there you can change the color for the series. Line text, Surface, Frames, you can change color properties for all of those.