Untitled number in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/PieDiagramConfig/properties/textPosition
Axial position of slice's label from zero at the center to 1 at the outside edges.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
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