aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-08-04 14:56:36 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-08-04 14:56:42 +0200
commit62aa23863d60b66aea4e027a1d8899cb10142560 (patch)
tree76c4eaf5e1355e001613c379f43c32464a77a451 /plugins
parent324e7ea6fb166942a519dfac10647eae5af803cd (diff)
downloadsonarqube-62aa23863d60b66aea4e027a1d8899cb10142560.tar.gz
sonarqube-62aa23863d60b66aea4e027a1d8899cb10142560.zip
SONAR-5004 Do not display bubble chart when all values for one axis are null/non available
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb
index ecd2bdb29d1..d3dd9d7d3f1 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb
@@ -74,7 +74,9 @@
.options({
baseUrl: baseUrl + '/dashboard/index/',
xLog: <%= xLog -%>,
- yLog: <%= yLog -%>
+ yLog: <%= yLog -%>,
+ noData: '<%= message('no_data') -%>',
+ noMainMetric: '<%= message('widget.measure_filter.no_main_metric') -%>'
})
.render('#<%= containerId -%>');
@@ -84,4 +86,3 @@
})();
</script>
<!--<![endif]-->
-