on 09-19-2007 1:01 PM
Hello,
I'm trying to change some customizing settings for concrete Series in the ICG Chart, rendered using IGS XML, but cannot make it work. The example is given below. No matter what I set for LineColor in Customizing section, no change happens. Any hints are appreciated.
<%@ extension name="Graphics" prefix="graphics" %>
<graphics:chart width="800" height="500" igs_rfc_destination="IGS_RFC_DEST">
<graphics:custom>
<graphics:nativexml>
<?xml version="1.0" encoding="utf-8"?>
<SAPChartCustomizing version="1.0">
<GlobalSettings>
<Dimension>Two</Dimension>
<Defaults>
<ChartType>Lines</ChartType>
</Defaults>
</GlobalSettings>
<Elements>
<ChartElements>
<Background>
<Color>RGB(255,255,255)</Color>
</Background>
<Title>
<Caption>Ein Beispiel von Chart</Caption>
</Title>
</ChartElements>
</Elements>
<Values>
<Series id="Series1">
<LineColor>RGB(222,0,0)</LineColor>
<Color>RGB(222,0,0)</Color>
</Series>
<Series id="Series2">
<MarkerSize>15</MarkerSize>
<LineColor>RGB(0,222,0)</LineColor>
<Color>RGB(0,222,0)</Color>
</Series>
</Values>
</SAPChartCustomizing>
</graphics:nativexml>
</graphics:custom>
<graphics:data>
<graphics:nativexml>
<?xml version="1.0" encoding="utf-8"?>
<SimpleChartData>
<Categories>
<C>Year 2001</C>
<C>Year 2002</C>
<C>Year 2003</C>
</Categories>
<Series id="Series1" label="Series1">
<S>10</S>
<S>20</S>
<S>50</S>
</Series>
<Series id="Series2" label="Series2">
<S>50</S>
<S>80</S>
<S>10</S>
</Series>
</SimpleChartData>
</graphics:nativexml>
</graphics:data>
</graphics:chart>
Thanks
Aal
Message was edited by:
Andrey Alimov
Hi Aaal,
try using <b>customizing</b> instead of <b>id</b> in the data XML, i.e.
<Series customizing="Series1" label="Series1">...
Then it should work as expected.
Best regards
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.