<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: perform dynamically cl_gui_chart_engine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554050#M1563729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;self solved.&lt;/P&gt;&lt;P&gt;by clear all instance and variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Dec 2010 11:01:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-23T11:01:45Z</dc:date>
    <item>
      <title>perform dynamically cl_gui_chart_engine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554048#M1563727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I copy the code of program GRAPHICS_GUI_CE_DEMO to create a dynamic graph.&lt;/P&gt;&lt;P&gt;I create two list box on screen and a container, I split container in two part 1 for alv and second for graph.&lt;/P&gt;&lt;P&gt;if user change the list box field, alv will change and graph also will change.&lt;/P&gt;&lt;P&gt;i use below code in pbo of screen. it work but when user change list box, alv contains are change but graph&lt;/P&gt;&lt;P&gt;area display only chart grids only, no columns and other things like title etc. are displaying. &lt;/P&gt;&lt;P&gt;if i comment  CALL METHOD l_ixml_custom_doc-&amp;gt;render at end, the graph display changes but &lt;/P&gt;&lt;P&gt;customize setting not apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF g_ce_container IS INITIAL OR
    ( oldl1f &amp;lt;&amp;gt; l1field OR oldl2f &amp;lt;&amp;gt; l2field ).
    IF g_ce_container IS NOT INITIAL.
      CALL METHOD g_ce_container-&amp;gt;free.
      CLEAR g_ce_container.
      CLEAR alv.
      CLEAR : g_ce_cont_split, g_ce_cont_graph, g_ce_cont_alv,
              g_ce_viewer, g_design_mode, g_value_change,
              g_ixml_sf
              .
      CLEAR g_ce_viewer_eh.
      g_ixml_sf = g_ixml-&amp;gt;create_stream_factory( ).
*
    ENDIF.
* Create the object for container.
    CREATE OBJECT g_ce_container
      EXPORTING
      container_name = 'CONTAINER_GRAPH'.


    CREATE OBJECT g_ce_cont_split
        EXPORTING
          parent  = g_ce_container
          rows    = 1
          columns = 2
          align   = 15
          .
*call method g_ce_cont_split-&amp;gt;set_border
*       exporting border = '1'.

    CALL METHOD g_ce_cont_split-&amp;gt;set_column_width
      EXPORTING
        id    = 2
        width = 75.
    CALL METHOD g_ce_cont_split-&amp;gt;get_container
      EXPORTING
        row       = 1
        column    = 1
      RECEIVING
        container = g_ce_cont_alv.

    CALL METHOD g_ce_cont_split-&amp;gt;get_container
      EXPORTING
        row       = 1
        column    = 2
      RECEIVING
        container = g_ce_cont_graph.

* Bind the container to the object.
    CREATE OBJECT g_ce_viewer
      EXPORTING
        parent = g_ce_cont_graph.

    CREATE OBJECT g_ce_viewer_eh.

    SET HANDLER g_ce_viewer_eh-&amp;gt;on_click FOR g_ce_viewer.
    SET HANDLER g_ce_viewer_eh-&amp;gt;on_value_change FOR g_ce_viewer.
    SET HANDLER g_ce_viewer_eh-&amp;gt;on_property_change FOR g_ce_viewer.

    PERFORM create_data_demo USING l_ixml_data_doc.
    l_ostream = g_ixml_sf-&amp;gt;create_ostream_xstring( l_xstr ).
    CALL METHOD l_ixml_data_doc-&amp;gt;render
      EXPORTING
        ostream = l_ostream.
    g_ce_viewer-&amp;gt;set_data( xdata = l_xstr ).

    CLEAR l_xstr.
    PERFORM create_custom_demo USING l_ixml_custom_doc.
    l_ostream = g_ixml_sf-&amp;gt;create_ostream_xstring( l_xstr ).
    CALL METHOD l_ixml_custom_doc-&amp;gt;render
      EXPORTING
        ostream = l_ostream.
    g_ce_viewer-&amp;gt;set_customizing( xdata = l_xstr ).

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD g_ce_viewer-&amp;gt;render.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 09:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554048#M1563727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T09:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: perform dynamically cl_gui_chart_engine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554049#M1563728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PL. HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554049#M1563728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: perform dynamically cl_gui_chart_engine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554050#M1563729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;self solved.&lt;/P&gt;&lt;P&gt;by clear all instance and variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 11:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-dynamically-cl-gui-chart-engine/m-p/7554050#M1563729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T11:01:45Z</dc:date>
    </item>
  </channel>
</rss>

