主题
Quadrant Chart Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/QuadrantChartConfig
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config.schema.json* |
QuadrantChartConfig Type
object
(Quadrant Chart Config)
all of
QuadrantChartConfig Properties
chartWidth
图表的宽度
chartWidth
is required
Type:
number
cannot be null
defined in: Mermaid Config
chartWidth Type
number
chartWidth Constraints
minimum: the value of this number must greater than or equal to: 0
chartWidth Default Value
The default value is:
json
500
chartHeight
图表的高度
chartHeight
is required
Type:
number
cannot be null
defined in: Mermaid Config
chartHeight Type
number
chartHeight Constraints
minimum: the value of this number must greater than or equal to: 0
chartHeight Default Value
The default value is:
json
500
titleFontSize
图表标题顶部和底部填充
titleFontSize
is required
Type:
number
cannot be null
defined in: Mermaid Config
titleFontSize Type
number
titleFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
titleFontSize Default Value
The default value is:
json
20
titlePadding
象限正方形周围的填充
titlePadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
titlePadding Type
number
titlePadding Constraints
minimum: the value of this number must greater than or equal to: 0
titlePadding Default Value
The default value is:
json
10
quadrantPadding
如果象限在顶部渲染,则象限标题从顶部填充
quadrantPadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
quadrantPadding Type
number
quadrantPadding Constraints
minimum: the value of this number must greater than or equal to: 0
quadrantPadding Default Value
The default value is:
json
5
xAxisLabelPadding
x 轴标签周围的填充
xAxisLabelPadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
xAxisLabelPadding Type
number
xAxisLabelPadding Constraints
minimum: the value of this number must greater than or equal to: 0
xAxisLabelPadding Default Value
The default value is:
json
5
yAxisLabelPadding
y 轴标签周围的填充
yAxisLabelPadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
yAxisLabelPadding Type
number
yAxisLabelPadding Constraints
minimum: the value of this number must greater than or equal to: 0
yAxisLabelPadding Default Value
The default value is:
json
5
xAxisLabelFontSize
x 轴标签字体大小
xAxisLabelFontSize
is required
Type:
number
cannot be null
defined in: Mermaid Config
xAxisLabelFontSize Type
number
xAxisLabelFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
xAxisLabelFontSize Default Value
The default value is:
json
16
yAxisLabelFontSize
y 轴标签字体大小
yAxisLabelFontSize
is required
Type:
number
cannot be null
defined in: Mermaid Config
yAxisLabelFontSize Type
number
yAxisLabelFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
yAxisLabelFontSize Default Value
The default value is:
json
16
quadrantLabelFontSize
象限标题字体大小
quadrantLabelFontSize
is required
Type:
number
cannot be null
defined in: Mermaid Config
quadrantLabelFontSize Type
number
quadrantLabelFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
quadrantLabelFontSize Default Value
The default value is:
json
16
quadrantTextTopPadding
如果象限在顶部渲染,则象限标题从顶部填充
quadrantTextTopPadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
quadrantTextTopPadding Type
number
quadrantTextTopPadding Constraints
minimum: the value of this number must greater than or equal to: 0
quadrantTextTopPadding Default Value
The default value is:
json
5
pointTextPadding
点和点标签之间的填充
pointTextPadding
is required
Type:
number
cannot be null
defined in: Mermaid Config
pointTextPadding Type
number
pointTextPadding Constraints
minimum: the value of this number must greater than or equal to: 0
pointTextPadding Default Value
The default value is:
json
5
pointLabelFontSize
点标题字体大小
pointLabelFontSize
is required
Type:
number
cannot be null
defined in: Mermaid Config
pointLabelFontSize Type
number
pointLabelFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
pointLabelFontSize Default Value
The default value is:
json
12
pointRadius
要绘制的点的半径
pointRadius
is required
Type:
number
cannot be null
defined in: Mermaid Config
pointRadius Type
number
pointRadius Constraints
minimum: the value of this number must greater than or equal to: 0
pointRadius Default Value
The default value is:
json
5
xAxisPosition
x 轴标签的位置
xAxisPosition
is required
Type:
string
cannot be null
defined in: Mermaid Config
xAxisPosition Type
string
xAxisPosition Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"top" | |
"bottom" |
xAxisPosition Default Value
The default value is:
json
"top"
yAxisPosition
y 轴标签的位置
yAxisPosition
is required
Type:
string
cannot be null
defined in: Mermaid Config
yAxisPosition Type
string
yAxisPosition Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"left" | |
"right" |
yAxisPosition Default Value
The default value is:
json
"left"
quadrantInternalBorderStrokeWidth
象限内的框边缘的描边宽度
quadrantInternalBorderStrokeWidth
is required
Type:
number
cannot be null
defined in: Mermaid Config
quadrantInternalBorderStrokeWidth Type
number
quadrantInternalBorderStrokeWidth Constraints
minimum: the value of this number must greater than or equal to: 0
quadrantInternalBorderStrokeWidth Default Value
The default value is:
json
1
quadrantExternalBorderStrokeWidth
象限外的框边缘的描边宽度
quadrantExternalBorderStrokeWidth
is required
Type:
number
cannot be null
defined in: Mermaid Config
quadrantExternalBorderStrokeWidth Type
number
quadrantExternalBorderStrokeWidth Constraints
minimum: the value of this number must greater than or equal to: 0
quadrantExternalBorderStrokeWidth Default Value
The default value is:
json
2