bar-width attribute

Type:number
Inherited:no
Used By:barcode, bargraph, depthbargraph, floatingbargraph, multibargraph, towerbargraph
Default:1
See:bar-depth

For bargraph and variants, the width of each bar as a proportion of the square it sits on

For barcode, the width of the narrowest bar in the code in points. The default is 1, which is generally sufficient. The minimum recommended width is 0.6 points.

Each bar in this bar graph will be 80% of the size of the square it sits on

<depthbargraph bar-depth="0.8" bar-width="0.8">

This barcode will have thin bars that are 0.7pt wide

<barcode codetype="code128" value="product123" bar-width="0.7"/>