adaptiveLayout

Specifies adaptive layout options.

Type: Object

When your scenario provides the capability to change the size of the widget, then it may become too small for displaying all widget elements. In this case, the adaptive layout removes accessory widget elements, thus saving space for the most important ones. The elements are being removed in the following sequence.

  1. Chart margins
  2. Title margins or the whole title
  3. Legend
  4. Axis titles
  5. Axis labels
  6. Point labels (can be saved by setting the adaptiveLayout | keepLabels option to true)

To specify the widget's size, which is small enough for the layout to start adapting, use the height and width options of the adaptiveLayout object.

height

Specifies the height of the widget that is small enough for the layout to begin adapting.

Type: Number
Default Value: 80

If your scenario allows for the change of the widget's size, its layout will be changing as well if the widget becomes too small. To define how small the widget should be for the layout to begin adapting, specify the height and width fields of the adaptiveLayout configuration object.

keepLabels

Specifies whether or not point labels can be hidden when the layout is adapting.

Type: Boolean
Default Value: true

width

Specifies the width of the widget that is small enough for the layout to begin adapting.

Type: Number
Default Value: 80

If your scenario allows for the change of the widget's size, its layout will be changing as well if the widget becomes too small. To define how small the widget should be for the layout to begin adapting, specify the height and width fields of the adaptiveLayout configuration object.