I've got to run out for a bit, but here's at least one area to look into for #1, and perhaps #2. Play with the interval and minorInterval properties to try to get the result you need. Here's an example - it's close, but not exactly what you want (I've inserted three lines below your </mx:verticalAxisRenderer>) :
Good luck, Eddie <!-- vertical axis renderer --> <mx:verticalAxisRenderer > <mx:AxisRenderer labelRotation="45" /> </mx:verticalAxisRenderer> <mx:horizontalAxis > <mx:LinearAxis interval = ".01" /> </mx:horizontalAxis> <!-- horizontal axis renderer --> --- In [email protected], "Joy" <[EMAIL PROTECTED]> wrote: > > Hi > Can anyone please help me regarding: > 1. I want the divisions of the horizontal-axis labels (bar-chart) to > be more, eg. in the example, I want the labels to come as 0.1, 0.2, > 0.3 ... rather than the default 0.2, 0.4, 0.6 ... > > 2. I want the vertical-axis-labels to appear next to the tickmark, and > the bars as 'absolute-middle' to the tickmarks. > > Thanks in advance > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="vertical" > verticalAlign="middle" > backgroundColor="white"> > > <mx:Style> > > </mx:Style> > > <mx:ArrayCollection id="arrColl"> > <mx:source> > <mx:Array> > <mx:Object name="R Winn" obp=".353" slg=".445" > avg=".300" /> > <mx:Object name="P Feliz" obp=".290" slg=".418" > avg=".253" /> > <mx:Object name="O Vizquel" obp=".305" slg=".316" > avg=".246" /> > <mx:Object name="B Molina" obp=".298" slg=".433" > avg=".276" /> > <mx:Object name="R Durham" obp=".295" slg=".343" > avg=".218" /> > </mx:Array> > </mx:source> > </mx:ArrayCollection> > > > <mx:BarChart id="barChart" > showDataTips="true" > dataProvider="{arrColl}" > width="100%" > height="100%"> > > <!-- vertical axis --> > <mx:verticalAxis> > <mx:CategoryAxis categoryField="name"/> > </mx:verticalAxis> > > <!-- vertical axis renderer --> > <mx:verticalAxisRenderer> > <mx:AxisRenderer labelRotation="45" /> > </mx:verticalAxisRenderer> > > <!-- horizontal axis renderer --> > <mx:horizontalAxisRenderer> > <mx:AxisRenderer labelRotation="45" /> > </mx:horizontalAxisRenderer> > > <!-- series --> > <mx:series> > <mx:BarSeries id="avgSeries" > yField="name" > xField="avg" > displayName="avg" /> > </mx:series> > </mx:BarChart> > > </mx:Application> >

