Angular component to visualize a bar with specific value between 0-100. Mostly used for progressbars, but also for making quick horizontal bar charts.
The component currently has 6 optional Inputs:
valuedefines what value the bar has to show |numberrtlinverts the direction of the bar |booleancoloris a hex defined color string |stringe.g.#1c1c1cheightdefines the bar height in pixel |numberstyleselects a style from 4 predefined (look at scss for more information) |numberdelaydelays the animation by given ms |number
Use <value-chart-bar></value-chart-bar> to insert a bar into the template.
Some parts of the CSS code were found online. I can't seem to remember from where. If anyone finds it, please let me know so that I can add the source and give credit for it