Bullet chart dimensions

18 Nov 20181 minute to read

Size for container

The size of the Bullet Chart is determined by the container size, and it can be changed inline or via CSS as following.

Size for bullet chart

The Width and Height properties are used to adjust the size of the Bullet Chart.

Pixel

Sets the size of the Bullet Chart in pixels as shown below.

Percentage

By setting a value in percentage, the Bullet Chart gets its dimension with respect to its container. For example, when the height is 50%, the Bullet Chart renders to half of the container’s height.

NOTE

If the size is not specified, the Bullet Chart will be rendered with a height of 126px and a width of the window.