0 Replies Latest reply on Mar 19, 2009 11:47 AM by cahillswift

    PlotChart Time

    cahillswift
      Hi! I'm trying to display a plot of event times (e.g., 04:10,11:17,12:45,16:50). The series is plotting out as one day though, and not reading my data from XML as time. I've tried a variety of time/datetime formats for the input. If it helps, it does seem to be starting from time-0 (horizontal axis scales from 1/1/1970 to 1/2/1970). Any thoughts?

      <list>
      <recordID>dc86cff6-2b6d-4aad-9df6-...</recordID>
      <emp>number1</emp>
      <notDate>01/24/09</notDate>
      <weekDay>7</weekDay>
      <dTime>1899-12-30 14:40:00.0</dTime>
      <aTime>1:40:00 PM EST</aTime>
      </list>

      <mx:VBox x="10" y="200" width="800">
      <mx:Panel x="10" y="10" width="700">
      <mx:PlotChart dataProvider="{recordsData}">
      <mx:horizontalAxis>
      <mx:DateTimeAxis autoAdjust="true" />
      </mx:horizontalAxis>
      <mx:verticalAxis>
      <mx:CategoryAxis categoryField="recordID" />
      </mx:verticalAxis>
      <mx:series>
      <mx:PlotSeries xField="aTime" />
      </mx:series>
      </mx:PlotChart>
      </mx:Panel>
      </mx:VBox>