Skip to content

Untitled number in Mermaid Config Schema

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

轴标签(刻度文本)的顶部和底部空间

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

labelPadding Type

number

labelPadding Constraints

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

labelPadding Default Value

The default value is:

json
5