ganttRenderer: put top axis, if configured at the top
This commit is contained in:
parent
f78d4b13eb
commit
b558d67fcd
|
@ -379,7 +379,7 @@ export const draw = function(text, id) {
|
|||
svg
|
||||
.append('g')
|
||||
.attr('class', 'grid')
|
||||
.attr('transform', 'translate(' + theSidePad + ', ' + (h - 50) + ')')
|
||||
.attr('transform', 'translate(' + theSidePad + ', ' + theTopPad + ')')
|
||||
.call(topXAxis)
|
||||
.selectAll('text')
|
||||
.style('text-anchor', 'middle')
|
||||
|
|
Loading…
Reference in New Issue