Commit 47a6524d authored by Mike Greiling's avatar Mike Greiling

remove posessives in comment blocks

parent 090c9405
...@@ -115,13 +115,13 @@ export default class BurndownChart { ...@@ -115,13 +115,13 @@ export default class BurndownChart {
this.xScale.domain([this.startDate, this.xMax]); this.xScale.domain([this.startDate, this.xMax]);
this.yScale.domain([0, this.yMax]); this.yScale.domain([0, this.yMax]);
// calculate the bounding box for our axis label if we've updated it // calculate the bounding box for the axis label if updated
// (we must do this here to prevent layout thrashing) // (this must be done here to prevent layout thrashing)
if (label !== undefined) { if (label !== undefined) {
this.yAxisLabelBBox = this.yAxisLabelText.text(label).node().getBBox(); this.yAxisLabelBBox = this.yAxisLabelText.text(label).node().getBBox();
} }
// set our ideal line data // set ideal line data
if (this.data.length > 1) { if (this.data.length > 1) {
const idealStart = this.data[0] || { date: this.startDate, value: 0 }; const idealStart = this.data[0] || { date: this.startDate, value: 0 };
const idealEnd = { date: this.dueDate, value: 0 }; const idealEnd = { date: this.dueDate, value: 0 };
...@@ -238,7 +238,7 @@ export default class BurndownChart { ...@@ -238,7 +238,7 @@ export default class BurndownChart {
this.xAxisGroup.select('.domain').remove(); this.xAxisGroup.select('.domain').remove();
this.xAxisGroup.select('.domain-line').attr('x1', 0).attr('x2', this.chartWidth + margin.right); this.xAxisGroup.select('.domain-line').attr('x1', 0).attr('x2', this.chartWidth + margin.right);
// update our y-axis label // update y-axis label
const axisLabelOffset = (this.yAxisLabelBBox.height / 2) - margin.left; const axisLabelOffset = (this.yAxisLabelBBox.height / 2) - margin.left;
const axisLabelPadding = (this.chartHeight - this.yAxisLabelBBox.width - 10) / 2; const axisLabelPadding = (this.chartHeight - this.yAxisLabelBBox.width - 10) / 2;
...@@ -259,7 +259,7 @@ export default class BurndownChart { ...@@ -259,7 +259,7 @@ export default class BurndownChart {
.attr('y1', this.chartHeight - axisLabelPadding) .attr('y1', this.chartHeight - axisLabelPadding)
.attr('y2', this.chartHeight); .attr('y2', this.chartHeight);
// update our legend // update legend
const legendPadding = 10; const legendPadding = 10;
const legendSpacing = 5; const legendSpacing = 5;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment