diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2013-12-16 12:46:39 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2013-12-16 12:46:39 +0600 |
commit | 7564f6728efd42974be52913f7daecff66d0b778 (patch) | |
tree | 483259df4e92a429e5963a125894897a443935a0 /plugins/sonar-core-plugin | |
parent | 42ec714cbf47af998bd22f39eeefb9c77177b2d5 (diff) | |
download | sonarqube-7564f6728efd42974be52913f7daecff66d0b778.tar.gz sonarqube-7564f6728efd42974be52913f7daecff66d0b778.zip |
SONAR-4952 Provide a new PieChart widget to display a measure filter
Display main metric label inside donut. Show legend. Clicking to the sector leads to component dashboard.
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/pie_chart.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/pie_chart.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/pie_chart.html.erb index 2e9ae043948..84426eefbba 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/pie_chart.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/pie_chart.html.erb @@ -41,6 +41,9 @@ .source(baseUrl + '/measures/search_filter?' + query) .metricsPriority(metrics) .height(<%= chartHeight %>) + .options({ + baseUrl: baseUrl + '/dashboard/index/' + }) .render('#<%= containerId %>'); autoResize(500, function() { |