Circular Progress Bar Component-Based On Vue And Canvas

Vue awesome progress is a progress bar collection that supports npm and scripts used in two ways, and many self-supporting and animation properties are defined as the following offerings.

circular progress bar with percentage, circular progress indicator flutter, circular progress indicator flutter on button click, vue js circle progress bar, dynamic progress bar in vue js

How to make use of it:

Install and download:

# NPM
$ npm i vue-awesome-progress

1. Import and register the component.

import VueAwesomeProgress from "vue-awesome-progress"
// global
Vue.use(VueAwesomeProgress)
// local
export default {
  components: {
    VueAwesomeProgress
  },
  // ...
}

2. Add a cool progress component to the template.

<vue-awesome-progress
  circle-color="#e5e9f2"
  :circle-width="4"
  :line-width="4"
  :duration="2"
  :start-deg="0"
  :percentage="100"
  :show-text="false"
  easing="0,0,1,1"
/>

3. Component props available.

startDeg: {
  type: Number,
  default: 270,
  validator: function(value) {
      return value >= 0 && value < 360
  }
},
percentage: {
  type: Number,
  default: 0,
  validator: function(value) {
      return value >= 0 && value <= 100
  }
},
circleRadius: {
  type: Number,
  default: 40
},
circleWidth: {
  type: Number,
  default: 2
},
circleColor: {
  type: String,
  default: '#e5e5e5'
},
lineWidth: {
  type: Number,
  default: 8
},
useGradient: {
  type: Boolean,
  default: false
},
lineColor: {
  type: String,
  default: '#3B77E3'
},
lineColorStops: {
  type: Array,
  default: function() {
      return [
          { percent: 0, color: '#13CDE3' },
          { percent: 1, color: '#3B77E3' }
      ]
  }
},
showText: {
  type: Boolean,
  default: true
},
fontSize: {
  type: Number,
  default: 14
},
fontColor: {
  type: String,
  default: '#444'
},
pointRadius: {
  type: Number,
  default: 6
},
pointColor: {
  type: String,
  default: '#3B77E3'
},
animated: {
  type: Boolean,
  default: true
},
easing: {
  type: String,
  // ease-in
  default: '0.42,0,1,1',
  validator: function(value) {
      return /^(\-?\d+(\.\d+)?,){3}\-?\d+(\.\d+)?$/.test(value)
  }
},
duration: {
  type: Number,
  default: 0.6
},
format: {
  type: Function
}

Supported component properties

parameterinstructiontypeMust passOptional valueDefaults
percentagepercentageNumberfalse 0
start-youStarting angleNumberfalse 270
circle-radiusRadius of the ringNumberfalse 40
circle-widthLine width of the ringNumberfalse 2
circle-colorThe color of the ringStringfalse #e5e5e5
line-widthThe width of the progress arcNumberfalse 8
use-gradientWhether to use gradient color to draw the progress arcBooleanfalse false
line-color-stopsProgress arc gradient color breakpointArrayfalse [{“percent”:0,”color”:”#13CDE3″},{“percent”:1,”color”:”#3B77E3″}]
line-colorProgress arc colorStringfalse #3B77E3
show-textWhether to display the text in the ringBooleanfalse true
font-sizeFont size in ringNumberfalse 14
font-colorFont color in the ringStringfalse #444
formatText formatting methodFunctionfalse  
point-radiusDot radius, the value <=0, the dot will not be displayedNumberfalse 6
point-colorDot fill colorStringfalse #3B77E3
animatedWhether to use animation effectsBooleanfalse true
easingBessel easing function, the default is ease-in effectStringfalse 0.42,0,1,1
durationThe initial animation period, in secondsNumberfalse 1

Canvas Based Circle Progress Indicator, vue awesome progress Plugin/Github, flutter circular progress indicator with percentage


See Demo And Download

Official Website(cumt-robin): Click Here

This superior jQuery/javascript plugin is developed by cumt-robin. For extra Advanced usage, please go to the official website.

Related Posts

VenoBox-Responsive-jQuery-Lightbox-Plugin

Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…

bootstrap-dropdown-on-hover

[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…

Google-Translate-Dropdown-Customize-With-Country-Flag

Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

HStack-and-VStack-in-CSS

CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Leave a Reply

Your email address will not be published. Required fields are marked *