Skip to content

Radar Diagram Config Schema ​

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/RadarDiagramConfig

包含雷达图特定配置的对象。

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednoneconfig.schema.json*

RadarDiagramConfig Type ​

object (Radar Diagram Config)

all of

RadarDiagramConfig Properties ​

PropertyTypeRequiredNullableDefined by
widthnumberOptionalcannot be nullMermaid Config
heightnumberOptionalcannot be nullMermaid Config
marginTopnumberOptionalcannot be nullMermaid Config
marginRightnumberOptionalcannot be nullMermaid Config
marginBottomnumberOptionalcannot be nullMermaid Config
marginLeftnumberOptionalcannot be nullMermaid Config
axisScaleFactornumberOptionalcannot be nullMermaid Config
axisLabelFactornumberOptionalcannot be nullMermaid Config
curveTensionnumberOptionalcannot be nullMermaid Config

width ​

雷达图的大小。

width

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

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

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

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

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

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

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

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

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
Opens in mermaid.ai