Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
spacehog #1
Using the dateTimeAxis
Do you always have to use a parseFunction with the dateTimeAxis (in a column
chart)?
I want to use the date I pull, via remote object, in the x axis. But,
everytime I put the column name in as the xflied value no data renders. If I
don't use an xfield value then my data displays as it is returned from the
remote object:
<mx:RemoteObject id="chartmth_RO" showBusyCursor="true"
destination="ColdFusion" source="usagecenter_local.cfc.charts_usage_mth">
<mx:method name="qMonthlyUsage" result="get_Result(event)"/>
</mx:RemoteObject>
<mx:Canvas width="100%" height="100%">
<mx:VBox left="10" top="10" right="10" bottom="10">
<mx:DataGrid width="100%" id="details" dataProvider="{flatDP}"/>
<mx:ColumnChart id="usagechart1" height="95%" width="99%"
dataProvider="{flatDP}" >
<mx:horizontalAxis>
<mx:DateTimeAxis dataUnits="days"/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries yField="ctLines" xField="sbbrvDT" />
</mx:series>
</mx:ColumnChart>
</mx:VBox>
</mx:Canvas>
spacehog Guest
-
Problems with DateTimeAxis
OK 1st problem: I have one "working" graph, the parser works everything is fine, except the data spans over 3 days with readings every hour. I... -
Help with DateTimeAxis
well i dont know if your still having the problem but here is some help in the attached code is one of my parsers. that comes from the format... -
Problem on Chart with DateTimeAxis
Hello, I don't understand why showed data are one or more day delayed : for 'foo1' first data is show on 02/28 (datasource = 03/01) and second... -
spacehog #2
Re: Using the dateTimeAxis
Found my answer. As long as the date is in a format of mm/dd/yy no formatting is needed
spacehog Guest



Reply With Quote

