Skip to content

Untitled integer in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/GanttDiagramConfig/properties/topPadding

标题和甘特图之间以及轴和甘特图之间的边距。

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

topPadding Type

integer

topPadding Constraints

minimum: the value of this number must greater than or equal to: 0

topPadding Default Value

The default value is:

json
50