When the warnings count is successively zero, no y-axis legend is shown on the trend graph.

          [JENKINS-56594] Warnings trend graph has no y-axis legend

          David Aldrich created issue -

          Ulli Hafner added a comment -

          What is your expected visualization? An arbitrary range 1-10, or not chart at all?

          Ulli Hafner added a comment - What is your expected visualization? An arbitrary range 1-10, or not chart at all?

          David Aldrich added a comment -

          I suggest a minimum range of 1. So the y-axis would show ticks '0' and '1' as a minimum.

          David Aldrich added a comment - I suggest a minimum range of 1. So the y-axis would show ticks '0' and '1' as a minimum.
          Michael Düsterhus made changes -
          Attachment New: warnings-ng-y-scale.png [ 46537 ]

          Same if only one issue is found, 0.4 errors does not make sense. The old warnings plugin had only 0 and 1, nothing between.

          Michael Düsterhus added a comment - Same if only one issue is found, 0.4 errors does not make sense. The old warnings plugin had only 0 and 1, nothing between.

          Ulli Hafner added a comment -

          Yes, the new EChart JS lib that I am using seems to provide no integer based axis yet. We need to ask on their mailing list if and how that is possible.

          Ulli Hafner added a comment - Yes, the new EChart JS lib that I am using seems to provide no integer based axis yet. We need to ask on their mailing list if and how that is possible.
          Ulli Hafner made changes -
          Rank New: Ranked higher
          Ulli Hafner made changes -
          Labels New: newbie-friendly
          Ulli Hafner made changes -
          Attachment New: Bildschirmfoto 2019-10-01 um 11.15.53.png [ 48898 ]

          Ulli Hafner added a comment - - edited

          Maybe it would make sense to hide the chart if there are no warnings and show the same screen as in the details:

          Ulli Hafner added a comment - - edited Maybe it would make sense to hide the chart if there are no warnings and show the same screen as in the details:

            drulli Ulli Hafner
            davida2009 David Aldrich
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: