Skip to content

Pie Diagram Config Schema

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

PieDiagramConfig Type

object (Pie Diagram Config)

all of

PieDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
textPositionnumberOptionalcannot be nullMermaid Config

textPosition

切片标签的轴向位置从中心的零到外边缘的 1。

textPosition

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