We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 409bfce commit 6d520fbCopy full SHA for 6d520fb
src/index.js
@@ -415,7 +415,7 @@ export default class Gantt {
415
this.config.header_height +
416
this.options.padding +
417
(this.options.bar_height + this.options.padding) *
418
- this.groups.length;
+ this.groups.length,
419
10,
420
this.options.container_height !== 'auto'
421
? this.options.container_height
@@ -446,12 +446,12 @@ export default class Gantt {
446
const row_width = this.dates.length * this.config.column_width;
447
const row_height = this.options.bar_height + this.options.padding;
448
449
- let row_y = this.options.header_height;
+ let row_y = this.config.header_height;
450
451
for (let _ of this.groups) {
452
createSVG('rect', {
453
x: 0,
454
- y,
+ y : row_y,
455
width: row_width,
456
height: row_height,
457
class: 'grid-row',
0 commit comments