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
    Vote Rating
    0
    Answers
    2
    vijay.chauhan is on a distinguished road

      0  

    Default Unanswered: line chart not display x-axis for single record

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,546
    Vote Rating
    873
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is a reported bug.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    HYDERABAD
    Posts
    8
    Vote Rating
    0
    surendray is on a distinguished road

      0  

    Default Facing same issue

    Facing same issue


    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
    Vote Rating
    0
    Answers
    1
    maxycini is on a distinguished road

      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