Pie Diagram Config Schema β
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/PieDiagramConfig
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* |
PieDiagramConfig Type β
object
(Pie Diagram Config)
all of
PieDiagramConfig Properties β
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
textPosition | number | Optional | cannot be null | Mermaid Config |
textPosition β
Axial position of slice's label from zero at the center to 1 at the outside edges.
textPosition
is optional
Type:
number
cannot be null
defined in: Mermaid Config
textPosition Type β
number
textPosition 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
textPosition Default Value β
The default value is:
json
0.75