Quadrant Chart Config Schema
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
Width of the chart
chartWidth
is required
Type:
numbercannot 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:
500chartHeight
Height of the chart
chartHeight
is required
Type:
numbercannot 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:
500titleFontSize
Chart title top and bottom padding
titleFontSize
is required
Type:
numbercannot 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:
20titlePadding
Padding around the quadrant square
titlePadding
is required
Type:
numbercannot 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:
10quadrantPadding
quadrant title padding from top if the quadrant is rendered on top
quadrantPadding
is required
Type:
numbercannot 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:
5xAxisLabelPadding
Padding around x-axis labels
xAxisLabelPadding
is required
Type:
numbercannot 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:
5yAxisLabelPadding
Padding around y-axis labels
yAxisLabelPadding
is required
Type:
numbercannot 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:
5xAxisLabelFontSize
x-axis label font size
xAxisLabelFontSize
is required
Type:
numbercannot 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:
16yAxisLabelFontSize
y-axis label font size
yAxisLabelFontSize
is required
Type:
numbercannot 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:
16quadrantLabelFontSize
quadrant title font size
quadrantLabelFontSize
is required
Type:
numbercannot 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:
16quadrantTextTopPadding
quadrant title padding from top if the quadrant is rendered on top
quadrantTextTopPadding
is required
Type:
numbercannot 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:
5pointTextPadding
padding between point and point label
pointTextPadding
is required
Type:
numbercannot 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:
5pointLabelFontSize
point title font size
pointLabelFontSize
is required
Type:
numbercannot 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:
12pointRadius
radius of the point to be drawn
pointRadius
is required
Type:
numbercannot 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:
5xAxisPosition
position of x-axis labels
xAxisPosition
is required
Type:
stringcannot 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:
"top"yAxisPosition
position of y-axis labels
yAxisPosition
is required
Type:
stringcannot 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:
"left"quadrantInternalBorderStrokeWidth
stroke width of edges of the box that are inside the quadrant
quadrantInternalBorderStrokeWidth
is required
Type:
numbercannot 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:
1quadrantExternalBorderStrokeWidth
stroke width of edges of the box that are outside the quadrant
quadrantExternalBorderStrokeWidth
is required
Type:
numbercannot 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:
2