Skip to Content
author's profile photo Former Member
Former Member

Graphic background color


We use GRAPHICS_GUI_CE_DEMO tool in order to create our custom graphic in screen.

Whenever I run the report our graphic has white background color and X axis points values comes horizontal on the screen.

I need to open graphic settings and change them manuel way each time I run the report.

How I can save this setting or Is there anyway to set transparent background color and vertical x axis by writing code?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 07, 2016 at 06:22 PM

    Charts created using CL_GUI_CHART_ENGINE are fully configurable, as You can provide the configuration for the charts.

    To see the full configuration, you can run the demo program GRAPHICS_GUI_CE_DEMO and open the configuration by pressing the pencil icon. Once changes are made, use the Save button to save the config XML on local system. Open this XML and try to create your graph accordingly.

    For your specific background color question, you can pass this while building the configuration (Subroutine CREATE_CUSTOM_DEMO in program GRAPHICS_GUI_CE_DEMO).

    l_elements = p_ixml_doc->create_simple_element(
    name = 'Elements' parent = l_root ).
    l_chartelements = p_ixml_doc->create_simple_element(
    name = 'ChartElements' parent = l_elements ).

    l_bg = p_ixml_doc->create_simple_element(
    name = 'Background' parent = l_chartelements ).
    l_element = p_ixml_doc->create_simple_element(
    name = 'Color' parent = l_bg ).
    l_element->if_ixml_node~set_value( '@29' ). "Blue color


    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Naimeh,

      you provided an excellent example for the background color!

      Do you think it's possible to change color for individual bar within a serious? In the DEMO example, is it possible to have a Coffee bar different color in each quarter based on the bar value?

      Appreciate your help.


  • Posted on Jul 21, 2020 at 04:05 PM

    did you got the answer for that?

    I'm trying to change individual chat color too

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.