Single Container
Basic Configuration
Single Container is a basic container for a Unovis component. It is designed to hold one visualization component and an (optional) Tooltip. Just wrap the component of your choice in Single Container to render it.
note
For XY Components, instead use the XY Container, which designed to handle 2D data with X and Y coordinates.
Sizing
Width and Height
By default, Single Container will try to fit within the bounds of its parent HTML element. If the parent
height isn't defined, the default height of 300px will be applied. You can also explicitly define the container's
size with the width and height properties, which accepts numeric values.
const width = 200;
const height = 100;