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