Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Kevin
2015-03-03 15:36:37 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
9de812aed07fca60a1a282b8b7328930cfa310ba
9de812ae
2 parents
3f666b10
55bffa3d
Merge pull request #169 from nenuadrian/patch-4
Show actual percentage in label
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
PNChart/PNCircleChart.m
PNChart/PNCircleChart.m
View file @
9de812a
...
...
@@ -157,7 +157,7 @@ displayCountingLabel:(BOOL)displayCountingLabel
[
_circle
addAnimation
:
pathAnimation
forKey
:
@"strokeEndAnimation"
];
_circle
.
strokeEnd
=
[
_current
floatValue
]
/
[
_total
floatValue
];
[
_countingLabel
countFrom
:
0
to
:[
_current
floatValue
]
withDuration
:
self
.
duration
];
[
_countingLabel
countFrom
:
0
to
:[
_current
floatValue
]
/
([
_total
floatValue
]
/
100
.
0
)
withDuration
:
self
.
duration
];
// Check if user wants to add a gradient from the start color to the bar color
...
...
Please
register
or
login
to post a comment