Skip to content

Quadrant Chart Config Schema ​

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/QuadrantChartConfig
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednoneconfig.schema.json*

QuadrantChartConfig Type ​

object (Quadrant Chart Config)

all of

QuadrantChartConfig Properties ​

PropertyTypeRequiredNullableDefined by
chartWidthnumberRequiredcannot be nullMermaid Config
chartHeightnumberRequiredcannot be nullMermaid Config
titleFontSizenumberRequiredcannot be nullMermaid Config
titlePaddingnumberRequiredcannot be nullMermaid Config
quadrantPaddingnumberRequiredcannot be nullMermaid Config
xAxisLabelPaddingnumberRequiredcannot be nullMermaid Config
yAxisLabelPaddingnumberRequiredcannot be nullMermaid Config
xAxisLabelFontSizenumberRequiredcannot be nullMermaid Config
yAxisLabelFontSizenumberRequiredcannot be nullMermaid Config
quadrantLabelFontSizenumberRequiredcannot be nullMermaid Config
quadrantTextTopPaddingnumberRequiredcannot be nullMermaid Config
pointTextPaddingnumberRequiredcannot be nullMermaid Config
pointLabelFontSizenumberRequiredcannot be nullMermaid Config
pointRadiusnumberRequiredcannot be nullMermaid Config
xAxisPositionstringRequiredcannot be nullMermaid Config
yAxisPositionstringRequiredcannot be nullMermaid Config
quadrantInternalBorderStrokeWidthnumberRequiredcannot be nullMermaid Config
quadrantExternalBorderStrokeWidthnumberRequiredcannot be nullMermaid Config

chartWidth ​

Width of the chart

chartWidth

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 ​

Height of the chart

chartHeight

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 ​

Chart title top and bottom padding

titleFontSize

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 ​

Padding around the quadrant square

titlePadding

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 ​

quadrant title padding from top if the quadrant is rendered on top

quadrantPadding

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 ​

Padding around x-axis labels

xAxisLabelPadding

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 ​

Padding around y-axis labels

yAxisLabelPadding

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-axis label font size

xAxisLabelFontSize

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-axis label font size

yAxisLabelFontSize

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 ​

quadrant title font size

quadrantLabelFontSize

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 ​

quadrant title padding from top if the quadrant is rendered on top

quadrantTextTopPadding

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 ​

padding between point and point label

pointTextPadding

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 ​

point title font size

pointLabelFontSize

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 ​

radius of the point to be drawn

pointRadius

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 ​

position of x-axis labels

xAxisPosition

xAxisPosition Type ​

string

xAxisPosition Constraints ​

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"top"
"bottom"

xAxisPosition Default Value ​

The default value is:

json
"top"

yAxisPosition ​

position of y-axis labels

yAxisPosition

yAxisPosition Type ​

string

yAxisPosition Constraints ​

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"left"
"right"

yAxisPosition Default Value ​

The default value is:

json
"left"

quadrantInternalBorderStrokeWidth ​

stroke width of edges of the box that are inside the quadrant

quadrantInternalBorderStrokeWidth

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 ​

stroke width of edges of the box that are outside the quadrant

quadrantExternalBorderStrokeWidth

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