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
xujunwen
2014-05-28 21:51:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
32bd04c67b14d890c009bf30f7a9974dcbc99a4e
32bd04c6
1 parent
6e8473a2
fix bugs that the square style point show immediately
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
PNChart/PNLineChart/PNLineChart.m
PNChart/PNLineChart/PNLineChart.m
View file @
32bd04c
...
...
@@ -331,7 +331,8 @@
[
chartLine
addAnimation
:
pathAnimation
forKey
:
@"strokeEndAnimation"
];
chartLine
.
strokeEnd
=
1
.
0
;
if
(
chartData
.
inflexionPointStyle
==
PNLineChartPointStyleCycle
)
{
// if you want cancel the point animation, conment this code, the point will show immediately
if
(
chartData
.
inflexionPointStyle
!=
PNLineChartPointStyleNone
)
{
[
pointLayer
addAnimation
:
pathAnimation
forKey
:
@"strokeEndAnimation"
];
}
...
...
Please
register
or
login
to post a comment