mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
added requested changes
This commit is contained in:
parent
d7591fbeda
commit
2d0b22892d
@ -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[] = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user