Skip to content

Bar chart - Web Component โ€‹

...

Browser support โ€‹

Parameters โ€‹

The Web component uses the <z-bar-chart> tag:

Chart props:

  • --y-min: ...
  • --y-max: ...

Data props:

  • --value: ...
  • --bar-color: (optional) ...

...

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescription

Playground โ€‹

Customization โ€‹

HTML Examples โ€‹

...