主题
Radar Diagram Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/RadarDiagramConfig
包含雷达图特定配置的对象。
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* |
RadarDiagramConfig Type
object
(Radar Diagram Config)
all of
RadarDiagramConfig Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
width | number | Optional | cannot be null | Mermaid Config |
height | number | Optional | cannot be null | Mermaid Config |
marginTop | number | Optional | cannot be null | Mermaid Config |
marginRight | number | Optional | cannot be null | Mermaid Config |
marginBottom | number | Optional | cannot be null | Mermaid Config |
marginLeft | number | Optional | cannot be null | Mermaid Config |
axisScaleFactor | number | Optional | cannot be null | Mermaid Config |
axisLabelFactor | number | Optional | cannot be null | Mermaid Config |
curveTension | number | Optional | cannot be null | Mermaid Config |
width
雷达图的大小。
width
is optional
Type:
number
cannot be null
defined in: Mermaid Config
width Type
number
width Constraints
minimum: the value of this number must greater than or equal to: 1
width Default Value
The default value is:
json
600
height
雷达图的大小。
height
is optional
Type:
number
cannot be null
defined in: Mermaid Config
height Type
number
height Constraints
minimum: the value of this number must greater than or equal to: 1
height Default Value
The default value is:
json
600
marginTop
雷达图顶部的边距。
marginTop
is optional
Type:
number
cannot be null
defined in: Mermaid Config
marginTop Type
number
marginTop Constraints
minimum: the value of this number must greater than or equal to: 0
marginTop Default Value
The default value is:
json
50
marginRight
雷达图右侧的边距。
marginRight
is optional
Type:
number
cannot be null
defined in: Mermaid Config
marginRight Type
number
marginRight Constraints
minimum: the value of this number must greater than or equal to: 0
marginRight Default Value
The default value is:
json
50
marginBottom
雷达图底部的边距。
marginBottom
is optional
Type:
number
cannot be null
defined in: Mermaid Config
marginBottom Type
number
marginBottom Constraints
minimum: the value of this number must greater than or equal to: 0
marginBottom Default Value
The default value is:
json
50
marginLeft
雷达图左侧的边距。
marginLeft
is optional
Type:
number
cannot be null
defined in: Mermaid Config
marginLeft Type
number
marginLeft Constraints
minimum: the value of this number must greater than or equal to: 0
marginLeft Default Value
The default value is:
json
50
axisScaleFactor
轴的比例因子。
axisScaleFactor
is optional
Type:
number
cannot be null
defined in: Mermaid Config
axisScaleFactor Type
number
axisScaleFactor Constraints
minimum: the value of this number must greater than or equal to: 0
axisScaleFactor Default Value
The default value is:
json
1
axisLabelFactor
轴标签的比例因子。
axisLabelFactor
is optional
Type:
number
cannot be null
defined in: Mermaid Config
axisLabelFactor Type
number
axisLabelFactor Constraints
minimum: the value of this number must greater than or equal to: 0
axisLabelFactor Default Value
The default value is:
json
1.05
curveTension
Catmull-Rom 样条转换为三次贝塞尔曲线的张力因子。
curveTension
is optional
Type:
number
cannot be null
defined in: Mermaid Config
curveTension Type
number
curveTension Constraints
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
curveTension Default Value
The default value is:
json
0.17