I think you’re going to have to go through the array and combine similar code items yourself.  The column chart will create one bar for every item in the array, so you need to make sure that there is only one array entry for each code item.

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 1:01 AM
To: [email protected]
Subject: Re: [flexcoders] Info ColumnChart

 

Hi ,
i have seen the good tutorial Christophe's Chart Explorer.
But my i wish to understand this,
I have a RemoteObject that return me an array of "CVenditaVO", this
object is not gathered for "code item" and every "code item" has a qty,
or rather i wish display in my columnchart
all my "code item" gathered, and that my chart sum all qty of every
"code item" equal.
for examples

code item          qty
x                        1
y                        1
z                        4
x                        3

my chart should visualize

x   2
y   1
z   4

Ok, i can create a "RemoteObject" gathered, but if i can to this into
"Flex", it would be me useful, because the "CVenditaVO" not gathered.
Can you help me please



>Hi Devis, not quite sure what you're asking here.  Have you checked some of
>Christophe's Chart Explorer demo out?  It has a lot of examples as do the
>ASDoc for the charts.
>
>Matt
>
>-----Original Message-----
>From: [email protected] [mailto:[EMAIL PROTECTED] On
>Behalf Of [EMAIL PROTECTED]
>Sent: Wednesday, May 04, 2005 9:46 AM
>To: Flex Coders
>Subject: [flexcoders] Info ColumnChart
>
>hi,
>it's my first test with ColumnChart,
>but i don't understand, if i look the examples ColumnChartDemo, read
>into an xml file, and if i don't wrong the chart group the same value!is
>it correct?
>But in my dataProvider the value are not groupby, can you help me please.
>
><mx:ColumnChart width="100%" height="100%" dataProvider="{voincasso}"
>showDataTips="true">
>
>        <mx:horizontalAxis>
>            <mx:CategoryAxis dataProvider="{voincasso}"
>categoryField="modedi"/>
>        </mx:horizontalAxis>
>
>     
>
>        <mx:series>
>            <mx:Array>
>                <mx:ColumnSeries yField="apples"/>
>            </mx:Array>
>        </mx:series>
>
>    </mx:ColumnChart>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>

>






Yahoo! Groups Links

Reply via email to