diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2013-10-24 16:19:56 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2013-10-24 16:32:33 +0200 |
commit | e73dfa99edc77ba077cff59d57af1f9fa7fefecd (patch) | |
tree | 698c98869d50e075cb7df6aad5aeb653fe41f489 /plugins/sonar-core-plugin | |
parent | 0a866aebdf1ad476d5cb5544901220210936f9ca (diff) | |
download | sonarqube-e73dfa99edc77ba077cff59d57af1f9fa7fefecd.tar.gz sonarqube-e73dfa99edc77ba077cff59d57af1f9fa7fefecd.zip |
SONAR-55 Provide a Bubble chart widget (add resize-on-fly for the widget)
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb | 4 |
1 files changed, 4 insertions, 0 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 c16fc1de9ec..25774cc8a13 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 @@ -66,6 +66,10 @@ .yLog(<%= yLog %>) .height(<%= chartHeight %>) .render('#<%= container_id %>'); + + autoResize(500, function() { + bubbleChart.update('#<%= container_id %>'); + }); </script> <!--<![endif]--> |