Directory

v-stack-bar - Vaadin Add-on Directory

Stackbar web component v-stack-bar - Vaadin Add-on Directory
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jcgueriaudv-stack-bar) # <v-stack-bar> [<v-stack-bar>](https://vaadin.com/directory/component/jcgueriaudv-stack-bar) is a [Polymer 3](http://polymer-project.org) web component for creating stack bar. ```html ``` ![Screenshot](https://raw.githubusercontent.com/jcgueriaud1/v-stack-bar/master/screenshot.png) # Getting Started To use <v-stack-bar> the only required attribute is bars which contains a array of values. There are more optional attributes: * descriptions : array of text displayed on hover * theme : lumo-primary, lumo-error, lumo-success and lumo-shade. By default configure only 4 different values * colors: array of colors (to display the value inside the bar) * background-colors: array of background colors If the value = 0 then the bar is not displayed (but the color is reserved for the value).