Skip to content
Advertisement

Change the border color of a progress bar in quickchart js

i’m using quickchart.js to create a progress bar and i have a problem. When I create a progress bar by assigning it a background color it works but there is a permanent blue border that I can’t remove. Here the first example

I tried to change the color of the border but it does not change this border. Here the second example with border color

JavaScript

Is there a possibility to remove this border or change its color ?

Advertisement

Answer

You can define a second dataset that specifies the total (100%) of the progress bar.

In order to remove the border, this could look as follows:

JavaScript

Simply change borderColor in case you want a specific border to be drawn.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement