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
Edu Caselles
2015-12-18 16:51:59 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2589834d4e337cf2a30c755a37e5f8ba9a25d240
2589834d
1 parent
57a4ba64
Reflect animation optionality on README and fixed typos.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
PNChart/PNScatterChart.m
README.md
PNChart/PNScatterChart.m
View file @
2589834
...
...
@@ -374,7 +374,7 @@
// Make a circular shape
circle
.
path
=
[
UIBezierPath
bezierPathWithRoundedRect
:
CGRectMake
(
X
-
radius
,
Y
-
radius
,
2
.
0
*
radius
,
2
.
0
*
radius
)
cornerRadius
:
radius
].
CGPath
;
// Configure the apperence of the circle
// Configure the appe
a
rence of the circle
circle
.
fillColor
=
[
chartData
.
fillColor
CGColor
];
circle
.
strokeColor
=
[
chartData
.
strokeColor
CGColor
];
circle
.
lineWidth
=
1
;
...
...
@@ -396,7 +396,7 @@
return
square
;
}
else
{
// you cann add your own scatter chart poin here
// you cann add your own scatter chart poin
t
here
}
return
nil
;
}
...
...
README.md
View file @
2589834
...
...
@@ -248,6 +248,21 @@ lineChart.delegate = self;
```
#### Animation
Animation is enabled by default when drawing all charts. It can be disabled by setting
`displayAnimation = NO`
.
```
objective-c
#import "PNChart.h"
//For LineChart
lineChart.displayAnimation = NO;
```
```
objective-c
//For DelegateMethod
...
...
Please
register
or
login
to post a comment