Editing the TorqueCurve app

Discussion in 'Content Creation' started by XYReis, Jun 30, 2014.

  1. XYReis

    XYReis
    Expand Collapse

    Joined:
    Sep 15, 2013
    Messages:
    38
    I didn't know whether to post this here or in the UI Apps subforum, I guess the mods are going to move it if it shouldn't be here.

    Anyway, how do I make the scale in the TorqueCurve app equal for both torque and horsepower?
    I suppose it's this way to minimize useless space in the app, but it's pretty confusing sometimes.

    EDIT: I fixed it myself.

    In html\apps\TorqueCurve\app.js, line 39, change "yaxis:2" to "yaxis:1".

    Now I just need to find a way to switch from Nm to Lb-ft.

    EDIT2: Fixed that too.

    Line 27: torqueData.push([i,(this.torqueCurve)/1.356]);
    Line 29: torqueData.push([maxrpm,(this.torqueCurve[maxrpm])/1.356]);

    There's only one more thing left to fix: Grid snap.
    Eg., the peak torque is 320lb-ft, but the grid extends all the way up to 400 unless you make the window high enough, then it only extends to 350.
     
    #1 XYReis, Jun 30, 2014
    Last edited: Jun 30, 2014
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice