Hi,
I want to show rank in line chart .  As we know  in general graph
maximum number will be on the top , but i need minimum number show on
the top of y-axis, means graph must be reverse.
How can i ill get this.

e.g.
If i have 5 ranks(1,2,3,4,5)
so in the line chart 1 will be at the top  and 5 will be on the bottom
as we are calculating the rank of a book.

please help me.

i m using following mxml

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
    <mx:Script><![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var expenses:ArrayCollection = new ArrayCollection([
        {Month: "Jan", Profit: 2000},
        {Month: "Feb", Profit: 1000},
        {Month: "Mar", Profit: 1500}
    ]);
    ]]></mx:Script>
    <mx:LineChart id="myChart" dataProvider="{expenses}">
        <mx:seriesFilters>
            <mx:Array/>
        </mx:seriesFilters>
        <mx:horizontalAxis>
            <mx:CategoryAxis dataProvider="{expenses}"
categoryField="Month"/>
        </mx:horizontalAxis>
        <mx:series>
            <mx:LineSeries yField="Profit" displayName="Profit"/>
            <mx:LineSeries yField="Expenses" displayName="Expenses"/>

        </mx:series>
    </mx:LineChart>
</mx:Application>

In given example  its showing  2000 at the top but i want 1000 will be
on the top.

Thanks,
Abrar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to