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-02-06 20:34:49 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
2faf685d7a2dd65310f1c3cb6e97e902b7736c1b
2faf685d
2 parents
54e06019
dc90c4f3
Merge pull request #154 from ecaste/master
Use duration property in counting 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 @
2faf685
...
...
@@ -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
:
1
.
0
];
[
_countingLabel
countFrom
:
0
to
:[
_current
floatValue
]
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