Edit this page

shapeDefaults.content Object

Defines the shapes content settings.

shapeDefaults.content.align String

The alignment of the text inside the shape.

shapeDefaults.content.color String

The color of the shape content text.

shapeDefaults.content.fontFamily String

The font family of the shape content text.

shapeDefaults.content.fontSize Number

The font size of the shape content text.

shapeDefaults.content.fontStyle String

The font style of the shape content text.

shapeDefaults.content.fontWeight String

The font weight of the shape content text.

shapeDefaults.content.template String |Function

The 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

shapeDefaults.content.text String

The text that is displayed in the shape.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy