jQuery Animated Bar Plugin: jqBar
As we speak’s freebie is an easy jQuery plugin for creating animated vertical and horizontal bars. The plugin is known as jqBar. jqBar can be utilized in number of conditions the place you wish to current information with some visible results. It helps you crate stunning bar charts to symbolize talent set or can be utilized as a progress bar. Plugin could be very gentle weight and may be utterly custom-made.
- animationSpeed: 2000
- barLength: 200
- orientation: ‘h’ for horizontal orientation and ‘v’ for vertical.
- barWidth: 10
- barColor: ‘crimson’
- label: ‘&’,
- worth: 100
In your HTML file add the next references within the head part.
- Add a reference to newest jQuery script
- Add a reference to jqbar.js file
- Add a reference to jqbar.css file
Now you simply must name the jqbar initializer perform for any block factor which you wish to convert to animated bar.
Here’s a full instance of utilizing jqbar.