diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-01-09 23:25:28 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-01-09 23:25:39 +0600 |
commit | 65d290af0b238f40f9222b1a4985132fa2d38e04 (patch) | |
tree | 0ba26ac4d5d58267b5e6bebe4db7ca1802ff1b7d /plugins | |
parent | a3272e9b1d0592df7fe59b0280cffd8714f60041 (diff) | |
download | sonarqube-65d290af0b238f40f9222b1a4985132fa2d38e04.tar.gz sonarqube-65d290af0b238f40f9222b1a4985132fa2d38e04.zip |
Fix legend for Project File Bubble Chart
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb | 6 |
1 files changed, 3 insertions, 3 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 75740bac00f..8dc4eaca243 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 @@ -57,9 +57,9 @@ longName: '<%= escape_javascript row.resource.long_name -%>', qualifier: '<%= escape_javascript row.resource.qualifier -%>', measures: { - <%= xMetric.name -%>: { val: <%= x ? x.value : 0 -%> }, - <%= yMetric.name -%>: { val: <%= y ? y.value : 0 -%> }, - <%= sizeMetric.name -%>: { val: <%= size ? size.value : 0 -%> } + <%= xMetric.name -%>: { val: <%= x ? x.value : 0 -%>, fval: '<%= x ? x.formatted_value : "-" -%>' }, + <%= yMetric.name -%>: { val: <%= y ? y.value : 0 -%>, fval: '<%= y ? y.formatted_value : "-" -%>' }, + <%= sizeMetric.name -%>: { val: <%= size ? size.value : 0 -%>, fval: '<%= size ? size.formatted_value : "-" -%>' } } }, <% end %> |