question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to generate small circle

See original GitHub issue

Hi, I tried ng-circle-progress it works smoothly for me.

But I have one issue with this, I want to generate small size circles only (ex: radius=10px). but when I pass radius=10 , circle size is still around 100x100 (radius around 50px)

<circle-progress
[percent]="85" [radius]="10"
[outerStrokeWidth]="4"
[innerStrokeWidth]="2"
[space]="-4"
outerStrokeColor="#82c42d"
innerStrokeColor="#d8e3e6"
[showSubtitle]="false"
[showUnits]="false"></circle-progress>

I looked into circle-progress.component.ts code then I found one condition there It sets radius=50 if it is less then 50. Is there issue if we allow to generate small circles… https://github.com/bootsoon/ng-circle-progress/blob/master/src/circle-progress.component.ts#L219

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
Alexmartinez3commented, Nov 17, 2017

@stas-kh You can apply a scale transformation to container of circle progress. I try this and work fine for me.

.container{
	 transform: scale(0.8);
}

Hope it helps you!!

1reaction
bootsooncommented, Nov 15, 2017

@stas-kh I’ll fix it this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem: Unable to create a circle feature using the Circle tool
When creating a circle feature using the Circle tool by specifying the radius value and a unit abbreviation other than map units in...
Read more >
Detect very small circle and get their information (Opencv)
I am using HoughCicle transform to detect the circles however I stucked and couldn't be able to detect it yet. Please, any suggestions?...
Read more >
How to Make a Circle | Illustrator Tutorial - YouTube
In this Illustrator tutorial, learn how to make a perfect circle using the ... through a small affiliate commission at no extra cost...
Read more >
6 Ways to Draw a Circle - wikiHow
1. Find something round that you can trace. Any round object will work. You can use a round glass, the bottom of a...
Read more >
Drawing circles - Peter Collingridge
In Pygame there are various functions for drawing simple shapes. We will display our particles as circles so use the `pygame.draw.circle()` function. This ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found