diff --git a/cypress/platform/knsv.html b/cypress/platform/knsv.html index 053a4142e..a3fa906c8 100644 --- a/cypress/platform/knsv.html +++ b/cypress/platform/knsv.html @@ -67,7 +67,7 @@ commit commit -
+
sequenceDiagram title: My Sequence Diagram Title accTitle: My Acc Sequence Diagram @@ -160,7 +160,7 @@ requirementDiagram a1-->a2-->a3 end
-
+
gantt accTitle: My gantt chart accDescr: My my gantt chart Description diff --git a/src/diagrams/gantt/ganttRenderer.js b/src/diagrams/gantt/ganttRenderer.js index 4883684ec..2cf46eae5 100644 --- a/src/diagrams/gantt/ganttRenderer.js +++ b/src/diagrams/gantt/ganttRenderer.js @@ -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');