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