mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 09:20:03 +02:00
ganttRenderer: put top axis, if configured at the top
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user