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