Skip to content

Commit

Permalink
Adjust legend positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
brittanydionigi committed Feb 29, 2016
1 parent d4245f7 commit f8236b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kitsune/kpi/static/kpi/js/components/Chart.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class Chart {
},
margin: { top: 40, right: 0, bottom: 20, left: 75 },
width: 860,
height: 430,
height: 440,
grid: { rows: 12, columns: 12 },
gridSize: 71,
buckets: 10,
Expand Down Expand Up @@ -81,7 +81,7 @@ export default class Chart {

setupLegend() {
let legendData = this.chartColors;
let legendYPosition = (this.grid.rows * this.gridSize/2);
let legendYPosition = (this.grid.rows * this.gridSize/2 + 15);
let legendXPositions = i => (this.legendElementWidth * i) - this.gridSize;

let legend = this.dom.svg.append('g')
Expand Down

0 comments on commit f8236b6

Please sign in to comment.