2 Replies Latest reply on Sep 21, 2008 1:26 AM by SureshVytla

    Flex Charting DateTimeAxis

    SureshVytla
      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:


        • 1. Re: Flex Charting DateTimeAxis
          Fis Forums Level 1
          add more vertical axis with data
          • 2. Flex Charting DateTimeAxis
            SureshVytla Level 1
            The following is the test data for the graph. The data is in JSON form and uses adobe json utils to parse the data and updates the data provider.

            Data :
            {"yaxisLabel":"New","chartTitle":"Entry Point Summary","statusMessage":"Success","dataSet":[{"key":"07/06/2008","AcmeBilling":5},{"key" :"07/06/2008","AcmeBilling":13},{"key":"07/07/2008","AcmeBilling":10},{"key":"07/07/2008", "AcmeBilling":2},{"key":"07/08/2008","AcmeBilling":0},{"key":"07/09/2008","AcmeBilling":0} ,{"key":"07/13/2008","AcmeBilling":1},{"key":"07/14/2008","AcmeBilling":1},{"key":"07/15/2 008","AcmeBilling":3},{"key":"07/16/2008","AcmeBilling":5,"OutdailEntry1":3},{"key":"07/17 /2008","AcmeBilling":3,"OutdailEntry1":3},{"key":"07/18/2008","AcmeBilling":2,"OutdailEntr y1":0},{"key":"07/19/2008","AcmeBilling":0},{"key":"07/20/2008","AcmeBilling":5},{"key":"0 7/21/2008","AcmeBilling":20},{"key":"07/22/2008","AcmeBilling":31},{"key":"07/23/2008","Ac meBilling":13},{"key":"07/24/2008","AcmeBilling":28},{"key":"07/25/2008","AcmeBilling":34} ,{"key":"07/26/2008","AcmeBilling":0},{"key":"07/28/2008","AcmeBilling":46},{"key":"07/29/ 2008","AcmeBilling":29},{"key":"07/30/2008","AcmeBilling":11},{"key":"07/31/2008","AcmeBil ling":12,"OutdailEntry1":1},{"key":"08/01/2008","AcmeBilling":0,"OutdailEntry1":0},{"key": "08/03/2008","AcmeBilling":10},{"key":"08/04/2008","AcmeBilling":0},{"key":"08/07/2008","A cmeBilling":2},{"key":"08/08/2008","AcmeBilling":0},{"key":"08/11/2008","AcmeBilling":13}, {"key":"08/12/2008","AcmeBilling":0},{"key":"08/13/2008","AcmeBilling":2},{"key":"08/14/20 08","AcmeBilling":0},{"key":"08/18/2008","AcmeBilling":1},{"key":"08/19/2008","AcmeBilling ":0},{"AcmeCustSvc":1,"key":"08/20/2008","AcmeSales":2,"AcmeBilling":6},{"AcmeCustSvc":0," key":"08/21/2008","AcmeSales":0,"AcmeBilling":7},{"key":"08/22/2008","AcmeBilling":0},{"ke y":"08/25/2008","AcmeBilling":2},{"key":"08/26/2008","AcmeBilling":0},{"key":"08/27/2008", "AcmeBilling":17},{"key":"08/28/2008","AcmeBilling":5},{"key":"08/29/2008","AcmeBilling":5 },{"key":"08/30/2008","AcmeBilling":0},{"key":"09/01/2008","AcmeBilling":12},{"key":"09/02 /2008","AcmeBilling":0},{"key":"09/03/2008","AcmeBilling":0},{"key":"09/05/2008","AcmeBill ing":2},{"key":"09/06/2008","AcmeBilling":0},{"key":"09/07/2008","AcmeBilling":5},{"key":" 09/08/2008","AcmeBilling":4},{"key":"09/09/2008","AcmeBilling":0}],"dataUnits":"days","ser ies":[{"label":"AcmeBilling","seriesKey":"AcmeBilling"},{"label":"AcmeCustSvc","seriesKey" :"AcmeCustSvc"},{"label":"AcmeSales","seriesKey":"AcmeSales"},{"label":"OutdailEntry1","se riesKey":"OutdailEntry1"}],"statusCode":200}