Hi, Can anyone suggest fix for this. Is this bug in flex charting for dateTimeAxis?
Thanks, Suresh --- In [email protected], "kumar_vytla" <[EMAIL PROTECTED]> wrote: > > I have a problem in the Flex Charting with the DateTimeAxis. I have > requirement to show more than 60 days data in days using the line chart. > When I tried that, chart showing x-axis data point in months instead of > days even though dataUnits mentioned in days. When I observed Chart show > data correctly if the data is in between two months. If the data is span > across more than two months chart is showing x-axis labels in months. > > Please let me know anything wrong in the code. > Here is the code: > > <mx:Panel id="linePanel" width="100%" height="100%" autoLayout="true" > title="" textAlign="center"> > <mx:LineChart id="myChart" dataProvider="{dataProvider}" > showDataTips="true" width="100%" height="100%"> > <mx:horizontalAxis> > <!-- parseFunction="myParseFunction"--> > <mx:DateTimeAxis id="dateTimeAxis" dataUnits="days"/> > </mx:horizontalAxis> > <mx:verticalAxis> > <mx:LinearAxis id="linearYAxis" minimum="0"/> > </mx:verticalAxis> > <mx:annotationElements> > <mx:Canvas id="labelCanvas" horizontalScrollPolicy="off" > verticalScrollPolicy="off"> > <mx:Label id="nodataLabel" fontWeight="normal"/> > </mx:Canvas> > </mx:annotationElements> > </mx:LineChart> > <mx:Legend direction="horizontal" dataProvider="{myChart}"/> > </mx:Panel> >

