Skip to content

Bar chart - Web Component

...

Browser support

Parameters

The Web component uses a <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