Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

How to add label to lable1/2 in chartdesigner 640 ?

$
0
0

Hello

I'm using chartdesigner 640 and I have 20 categories and dynamic number of series

I want to put dynamically label at each series per categories                                                    

I've seen in the designer  that the label is placed in each series as label 1/1  label 1/2 etc..

How in sap program can I change the label?

Is it in the transformation of data that looks?

<?sap.transform simple?>
<tt:transform xmlns:tt=
"http://www.sap.com/transformation-templates">
  <tt:root name=
"CATEGORIES"/>
  <tt:root name=
"SERIES"/>
  <tt:template>

    <ChartData>

      <Categories>

        <tt:loop ref=
"CATEGORIES">
          <Category>

            <tt:value/>

          </Category>

        </tt:loop>

      </Categories>

      <tt:loop ref=
"SERIES">
        <Series>

          <tt:attribute name=
"label">
            <tt:value ref=
"LABEL"/>
          </tt:attribute>

          <tt:attribute name=
"customizing">
            <tt:value ref=
"ID"/>
          </tt:attribute>

          <tt:loop ref=
"VALUES">
            <Point>

              <Value type=
"y">
                <tt:value/>

              </Value>

            </Point>

          </tt:loop>

        </Series>

      </tt:loop>

    </ChartData>

  </tt:template>

</tt:transform>

Or I  neet  to change the customizing

lf_element = gv_ixml_custom_doc->find_from_id( name = 'id' value = lv_series  ).

Can anyone give me  example how to write it

Thank you Shlomit


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>