Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48888

Plot plugin should allow to select logarithmic axis "tick labels" type: exp vs. log10 vs. default regular numeric

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • plot-plugin
    • None

      Right now it is using "exp" style, but oftentimes the "log10" style is more intuitive:

      • "exp":
      • "log10":

      Hm, somehow I am wondering why the two plots look identical: cf. https://issues.jenkins-ci.org/browse/JENKINS-48887

          [JENKINS-48888] Plot plugin should allow to select logarithmic axis "tick labels" type: exp vs. log10 vs. default regular numeric

          Actually (based on JFreeChart sources) I would even prefer the default "regular numeric tick labels" by removing this line:

          logAxis.setExpTickLabelsFlag(true);

          in https://github.com/jenkinsci/plot-plugin/blob/9ba5591c92426b079467eee8fcc4a38aeaff65d5/src/main/java/hudson/plugins/plot/Plot.java#L813

          Reinhold Füreder added a comment - Actually (based on JFreeChart sources) I would even prefer the default "regular numeric tick labels" by removing this line: logAxis.setExpTickLabelsFlag(true); in https://github.com/jenkinsci/plot-plugin/blob/9ba5591c92426b079467eee8fcc4a38aeaff65d5/src/main/java/hudson/plugins/plot/Plot.java#L813

          Fixed in JENKINS-48887.

          Veaceslav Gaidarji added a comment - Fixed in  JENKINS-48887 .

            vgaidarji Veaceslav Gaidarji
            reinholdfuereder Reinhold Füreder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: