1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    merlcorry is on a distinguished road

      0  

    Default Unanswered: How to prevent a 2nd line in a multiline chart from extending off the viewable area

    Unanswered: How to prevent a 2nd line in a multiline chart from extending off the viewable area


    I have a multiline chart which it's x axis is based on time and it's y axis is based off of calculations performed. The first line is the total calculations per hour. The 2nd line is the average calculations per hour. Occasionally the calculations will spike drastically causing it to be much larger than the average line. When this happens, the larger line will extend off the viewable area of the chart. Is there a way to force the chart scale according to the larger line so that all results can be viewed?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,013
    Answers
    3490
    Vote Rating
    846
    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


    I have had issues with the chart handling this myself. I turned to loading the store and then creating the chart after the store has loaded. Haven't tried it in 4.1 or 4.2 tho.
    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.

Thread Participants: 1

Tags for this Thread