JavaScript/jQuery Sankey - adaptiveLayout
Specifies adaptive layout options.
Type:
The adaptive layout enables the widget to hide optional elements if they do not fit in the container. Elements are hidden in the following sequence:
- Title
- Export menu icon
- Labels (can be saved by setting the adaptiveLayout.keepLabels option to true)
Use the height and width options in the adaptiveLayout object to specify the minimum container size at which the layout begins to adapt.
height
Specifies the minimum container height at which the layout begins to adapt.
Type:
Default Value: 80
keepLabels
Specifies whether node labels should be kept when the widget adapts the layout.
Type:
Default Value: true
width
Specifies the minimum container width at which the layout begins to adapt.
Type:
Default Value: 80
Feedback