Skip to content

Radar Diagram Config Schema ​

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

The object containing configurations specific for radar diagrams.

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 ​

The size of the radar diagram.

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 ​

The size of the radar diagram.

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 ​

The margin from the top of the radar diagram.

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 ​

The margin from the right of the radar diagram.

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 ​

The margin from the bottom of the radar diagram.

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 ​

The margin from the left of the radar diagram.

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 ​

The scale factor of the axis.

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 ​

The scale factor of the axis label.

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 ​

The tension factor for the Catmull-Rom spline conversion to cubic BΓ©zier curves.

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