Selecting the correct title for gantt charts

This commit is contained in:
Knut Sveidqvist
2022-05-24 20:10:04 +02:00
parent 1148039c6b
commit 66f2f42294
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ export const draw = function (text, id) {
svg
.append('text')
.text(parser.yy.getAccTitle())
.text(parser.yy.getDiagramTitle())
.attr('x', w / 2)
.attr('y', conf.titleTopMargin)
.attr('class', 'titleText');