If you are using Flex 3, try the following example that i put together.

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>

    <mx:Script>
        <![CDATA[          
        import mx.collections.ArrayCollection;

        [Bindable]
        private var medalsAC:ArrayCollection = new ArrayCollection( [
            { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
            { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
            { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
        ]]>
    </mx:Script>

    <mx:Panel title="ColumnChart and BarChart Controls Example" 
        height="100%" width="100%" layout="horizontal">
        <mx:ColumnChart id="column" 
            height="100%" width="45%" paddingLeft="5" paddingRight="5" 
            showDataTips="true" dataProvider="{medalsAC}" >
            <mx:horizontalAxis>
                <mx:CategoryAxis categoryField="Country"/>
            </mx:horizontalAxis>
            
            <mx:verticalAxis>
                <mx:LinearAxis id="v1">
                </mx:LinearAxis>
            </mx:verticalAxis>

                  <mx:verticalAxisRenderers>                    
                        <mx:AxisRenderer axis = "{v1}" placement = "left"/>
                        <mx:AxisRenderer axis = "{v1}" placement = "right"/>
                  </mx:verticalAxisRenderers>
              
            <mx:series>
                <mx:ColumnSeries xField="Country" yField="Gold"
displayName="Gold" />
                <mx:ColumnSeries xField="Country" yField="Silver"
displayName="Silver" />
                <mx:ColumnSeries xField="Country" yField="Bronze"
displayName="Bronze" />
            </mx:series>
        </mx:ColumnChart>
        <mx:Legend dataProvider="{column}"/>

    </mx:Panel>
</mx:Application>

HTH

- venkat
http://www.venkatj.com

--- In flexcoders@yahoogroups.com, "geoffreymina" <[EMAIL PROTECTED]>
wrote:
>
> --- In flexcoders@yahoogroups.com, "geoffreymina" <geoffreymina@>
> wrote:
> >
> > Is there a simple way to have vertical axis labels show up on both the
> > right and left sides of a chart?  I have a very wide chart and it
> > would be helpful if there were reference points on both sides.
> > 
> > Thanks in advance.
> > Geoff
> >
> 
> 
> Anyone?
>


Reply via email to