mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 15:59:51 +02:00
added requested changes
This commit is contained in:
@@ -284,8 +284,8 @@ export class QuadrantBuilder {
|
||||
quadrantWidth,
|
||||
} = quadrantSpace;
|
||||
|
||||
const drawXAxisLabelsInMiddle = this.data.xAxisRightText ? true : false;
|
||||
const drawYAxisLabelsInMiddle = this.data.yAxisTopText ? true : false;
|
||||
const drawXAxisLabelsInMiddle = Boolean(this.data.xAxisRightText);
|
||||
const drawYAxisLabelsInMiddle = Boolean(this.data.yAxisTopText);
|
||||
|
||||
const axisLabels: QuadrantTextType[] = [];
|
||||
|
||||
|
Reference in New Issue
Block a user