Results 1 to 4 of 4

Thread: line chart not display x-axis for single record

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    ahmedabad
    Posts
    34
    Answers
    2
    Vote Rating
    0
      0  

    Default line chart not display x-axis for single record

    i have snapshots for problem when store has more than one record than it's working fine
    but when store has just single record it doesn't shows x-axis.
    same issue with example given with chart API.
    is there bug in chart API?

    test_multiple.png

    test_single.png

    demo_test_multiple.png

    demo_test_single.png

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    This is a reported bug.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    HYDERABAD
    Posts
    8
    Vote Rating
    0
      0  

    Default

    can any one tell me that wether this was fixed or any alternate solutions for this

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    22
    Answers
    1
    Vote Rating
    0
      0  

    Default

    One way of solving this is before setting data to chart check if record count and if its 1 then add a dummy record to the store and then set the store to the chart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •