Skip to Content
0
May 14, 2008 at 07:02 PM

Stacked format in chart using graphics:chart

56 Views

I Implemented a graphics:chart element and is working fine, I know how to set Pie format, bars, line in 2D or 3D, but I cant find info about how to set the stacked format.

I read the PDF that comes with the SAP chart Designer. In the section “Blocks” with Time Axis gives and example.

And the example is the following:

<?xml version="1.0" encoding="utf-8"?>

<ChartData>

<Categories>

<Category>20060703;120000</Category>

<Category>20060704;120000</Category>

<Category>20060705;120000</Category>

<Category>20060706;120000</Category>

</Categories>

<Series label="Coffee">

<Point>

<Value type="y">94</Value>

</Point>

<Point>

<Value type="y">110</Value>

</Point>

<Point>

<Value type="y">139</Value>

</Point>

<Point>

<Value type="y">192</Value>

</Point>

</Series>

<Series label="Espresso">

<Point>

<Value type="y">35</Value>

</Point>

<Point>

<Value type="y">39</Value>

</Point>

<Point>

<Value type="y">38</Value>

</Point>

<Point>

<Value type="y">59</Value>

</Point>

</Series>

</ChartData>

I copy, paste this example and I dont get stacked columns I see 2 series for each category, and I see 20060703;120000 as a label of the column. Something is wrong and I dont get it.

Some1 have a code sample of a stacked graphics:chart ?