aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2013-10-31 09:59:03 +0100
committerStas Vilchik <vilchiks@gmail.com>2013-10-31 09:59:03 +0100
commite37853f1daf4ec9e744d92381ca274f4b85dc815 (patch)
treea403169f0eefd5be0e4be56135d7beda213b97f7 /plugins/sonar-core-plugin
parentaec4473391fd603b4e3c5d3cae9977a71e6dc7b5 (diff)
downloadsonarqube-e37853f1daf4ec9e744d92381ca274f4b85dc815.tar.gz
sonarqube-e37853f1daf4ec9e744d92381ca274f4b85dc815.zip
SONAR-55 Use formatted values, decrease the minimum bubble size
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb6
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 25774cc8a13..1baea7f4ed5 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
@@ -40,13 +40,13 @@
longName: '<%= row.resource.long_name -%>',
xMetric: <%= x ? x.value : 0 -%>,
- xMetricFormatted: <%= x ? x.value : '"-"' -%>,
+ xMetricFormatted: '<%= x ? x.formatted_value : "-" -%>',
yMetric: <%= y ? y.value : 0 -%>,
- yMetricFormatted: <%= y ? y.value : '"-"' -%>,
+ yMetricFormatted: '<%= y ? y.formatted_value : "-" -%>',
sizeMetric: <%= size ? size.value : 0 -%>,
- sizeMetricFormatted: <%= size ? size.value : '"-"' -%>
+ sizeMetricFormatted: '<%= size ? size.formatted_value : "-" -%>'
},
<% end %>
];