ShapeDefaults.content
configurationDefines the default shapes content settings.
shapeDefaults.content
ObjectThe alignment of the text inside the shape. You can do combinations between "top", "middle" and "bottom" for vertical align and "right", "center" and "left" for horizontal align. For example, "top right", "middle left", "bottom center", and so on.
The color of the shape content text.
The font family of the shape content text.
The font size of the shape content text.
The font style of the shape content text.
The font weight of the shape content text.
The spacing between lines of text in the shape.
shapeDefaults.content.padding
Number|ObjectThe padding of the shape content.
shapeDefaults.content.relativePadding
Number|ObjectThe relative padding of the shape content e.g. 0.03 means 3% of the shape width/height.
shapeDefaults.content.template
String|FunctionThe template which renders the labels.
The fields which can be used in the template are:
- dataItem - The data item if a field has been specified
The text that is displayed in the shape.
Configures the text wrapping behavior in the shape. Supported values are "nowrap" and "wrap".
Default: "nowrap"