JavaScript/jQuery Chart - adaptiveLayout
Type:
viz/chart_components/base_chart:BaseChartAdaptiveLayout
The adaptive layout enables the UI component to hide optional elements if they do not fit in the container. Elements are hidden in the following sequence:
- Title
- Export menu icon
- Legend
- Axis titles
- Axis labels
- Point labels (can be saved by setting the adaptiveLayout.keepLabels property to true)
Use the height and width properties in the adaptiveLayout object to specify the minimum container size at which the layout begins to adapt.
See Also
keepLabels
Specifies whether point labels should be kept when the UI component adapts the layout.
Type:
Default Value: true
Feedback