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 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,421
    Answers
    3901
    Vote Rating
    1271
      0  

    Default

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

    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
      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
  •