Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-220

single graph not display correct with ymax and ymin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1.2
    • Fix Version/s: 0.1.2
    • Component/s: User Interface
    • Labels:
      None

      Description

      in single line series graph, when we specify the ymax and ymin, it displays the graph wrong because we put the double quote in front of the time value (x-value) as "124566000". Because of the double quote, javascript thinks the value is a string. When flot tries to calculate the display position, it does value + x-value as a string instead of a value. Hence, the whole graph screw up. We need to remove the double quote.

        Activity

        Hide
        eyang Eric Yang added a comment -

        +1 Looks good.

        Show
        eyang Eric Yang added a comment - +1 Looks good.
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Terence.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Terence.
        Hide
        macyang Mac Yang added a comment -

        Was there a patch for this fix?

        Show
        macyang Mac Yang added a comment - Was there a patch for this fix?
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #24 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/24/ )
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )

          People

          • Assignee:
            terencekwan Terence Kwan
            Reporter:
            terencekwan Terence Kwan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development