diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-02-05 15:34:51 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-02-05 15:34:51 +0100 |
commit | 7b9960d703f29c9c76bf745eda41248c12c35f2a (patch) | |
tree | 2c9e029b5f9c03274757bedb8c1b24d8ba9d10c0 /server/sonar-web/src/main/js/apps | |
parent | 99afa2aa3a594c2c270db860692fc70d7281e301 (diff) | |
download | sonarqube-7b9960d703f29c9c76bf745eda41248c12c35f2a.tar.gz sonarqube-7b9960d703f29c9c76bf745eda41248c12c35f2a.zip |
improve rendering of bar chart
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r-- | server/sonar-web/src/main/js/apps/account/components/IssueWidgets.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/components/complexity-distribution.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/components/IssueWidgets.js b/server/sonar-web/src/main/js/apps/account/components/IssueWidgets.js index 8679486d1d6..cc828b572ce 100644 --- a/server/sonar-web/src/main/js/apps/account/components/IssueWidgets.js +++ b/server/sonar-web/src/main/js/apps/account/components/IssueWidgets.js @@ -136,7 +136,7 @@ export default class IssueWidgets extends Component { xTicks={xTicks} xValues={xValues} barsWidth={20} - padding={[25, 0, 25, 0]} + padding={[25, 10, 25, 10]} height={80} onBarClick={this.handleByDateClick.bind(this)}/> </section> diff --git a/server/sonar-web/src/main/js/apps/overview/components/complexity-distribution.js b/server/sonar-web/src/main/js/apps/overview/components/complexity-distribution.js index 56781f4770f..daa9b8141bd 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/complexity-distribution.js +++ b/server/sonar-web/src/main/js/apps/overview/components/complexity-distribution.js @@ -54,8 +54,8 @@ export const ComplexityDistribution = React.createClass({ xTicks={xTicks} xValues={xValues} height={HEIGHT} - barsWidth={10} - padding={[25, 0, 25, 0]}/>; + barsWidth={20} + padding={[25, 10, 25, 10]}/>; }, render () { |