aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-18 15:19:22 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-18 15:19:22 +0200
commit267b5479edc7597c41c9b1ca8364580e4aac3461 (patch)
tree4e3e696fdb82b0baa50262f572e8211fa0d148e4
parentbd69025c6911bee9f65d9d67fd08d1ec294b9e0d (diff)
downloadsonarqube-267b5479edc7597c41c9b1ca8364580e4aac3461.tar.gz
sonarqube-267b5479edc7597c41c9b1ca8364580e4aac3461.zip
SONAR-6219 apply feedback for the timeline widget
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/dashboard/widget/TimelineWidget.java2
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties6
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.