From 267b5479edc7597c41c9b1ca8364580e4aac3461 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 18 Sep 2015 15:19:22 +0200 Subject: [PATCH] SONAR-6219 apply feedback for the timeline widget --- .../org/sonar/server/dashboard/widget/TimelineWidget.java | 2 +- .../src/main/resources/org/sonar/l10n/core.properties | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/dashboard/widget/TimelineWidget.java b/server/sonar-server/src/main/java/org/sonar/server/dashboard/widget/TimelineWidget.java index 2cccca998ae..c99ab5848e3 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/dashboard/widget/TimelineWidget.java +++ b/server/sonar-server/src/main/java/org/sonar/server/dashboard/widget/TimelineWidget.java @@ -32,7 +32,7 @@ import org.sonar.api.web.WidgetPropertyType; @WidgetProperty(key = "metric3", type = WidgetPropertyType.METRIC, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}), @WidgetProperty(key = "hideEvents", type = WidgetPropertyType.BOOLEAN), @WidgetProperty(key = "chartHeight", type = WidgetPropertyType.INTEGER, defaultValue = "180"), - @WidgetProperty(key = "undefinedToZero", type = WidgetPropertyType.BOOLEAN) + @WidgetProperty(key = "undefinedToZero", type = WidgetPropertyType.BOOLEAN, defaultValue = "true") }) public class TimelineWidget extends CoreWidget { public TimelineWidget() { diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index e0b4d1bb954..10a5feaa031 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1235,9 +1235,9 @@ widget.timeline.property.metric2.name=Metric 2 widget.timeline.property.metric3.name=Metric 3 widget.timeline.property.hideEvents.name=Hide events widget.timeline.property.chartHeight.name=Chart Height -widget.timeline.limited_histortical_data=Current timeline is reduced to a shorter period because of limited historical data for one of the metric. -widget.timeline.property.undefinedToZero.name=Zero undefined -widget.timeline.property.undefinedToZero.desc=Set undefined values to zero +widget.timeline.limited_histortical_data=Current timeline is reduced to a shorter period because of limited historical data for one or more of the metrics. +widget.timeline.property.undefinedToZero.name=Default missing data +widget.timeline.property.undefinedToZero.desc=Graph undefined values as zero. When set to false, the graph is only drawn for the period for which all values are defined. widget.bubble_chart.name=Project File Bubble Chart widget.bubble_chart.description=Display a component's source files in a Bubble chart. Both axes and bubble size are configurable. -- 2.39.5