
Any content lying outside this region will be clipped. For example, by default the total width is calculated as width + padding.left + padding.right. The total visualization size is determined solely by the provided width, height and padding values.

In contrast, the padding setting includes the padding within the view size calculations, such that the width and height settings indicate the total intended size of the view. The default setting ( content) interprets the width and height settings as the data rectangle (plotting) dimensions, to which padding is then added. To externally force a resize, use the View.resize API method.ĭetermines how size calculation should be performed, one of content (default) or padding. The default ( false) causes layout to be performed once upon initialization and in response to changes in the height and/or width signals (see here for more on sizing logic).


See the autosize types documentation for descriptions of each.Ī boolean flag indicating if autosize layout should be re-calculated on every view update. , where type is one of the autosize strings and resize is a boolean indicating if autosize layout should be re-calculated on every update.
