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
kevinzhow
2013-11-11 20:52:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
448aaea38dc1073b03d78ac13597e116c0b0e6c0
448aaea3
1 parent
50c57016
Add link in read me. New realease to fix the folder bug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
PNChartDemo/PCChartViewController.m
README.md
PNChartDemo/PCChartViewController.m
View file @
448aaea
...
...
@@ -29,7 +29,7 @@
PNChart
*
lineChart
=
[[
PNChart
alloc
]
initWithFrame
:
CGRectMake
(
0
,
75
.
0
,
SCREEN_WIDTH
,
200
.
0
)];
lineChart
.
backgroundColor
=
[
UIColor
clearColor
];
[
lineChart
setXLabels
:@[
@"SEP 1"
,
@"SEP 2"
,
@"SEP 3"
,
@"SEP 4"
,
@"SEP 5"
]];
[
lineChart
setYValues
:@[
@"1"
,
@"
10"
,
@"2"
,
@"6"
,
@"3
"
]];
[
lineChart
setYValues
:@[
@"1"
,
@"
240"
,
@"122"
,
@"186"
,
@"300
"
]];
[
lineChart
strokeChart
];
[
self
.
chartScrollView
addSubview
:
lineChartLabel
];
[
self
.
chartScrollView
addSubview
:
lineChart
];
...
...
@@ -46,7 +46,7 @@
barChart
.
backgroundColor
=
[
UIColor
clearColor
];
barChart
.
type
=
PNBarType
;
[
barChart
setXLabels
:@[
@"SEP 1"
,
@"SEP 2"
,
@"SEP 3"
,
@"SEP 4"
,
@"SEP 5"
]];
[
barChart
setYValues
:@[
@"1"
,
@"
10"
,
@"2"
,
@"6"
,
@"3
"
]];
[
barChart
setYValues
:@[
@"1"
,
@"
240"
,
@"122"
,
@"186"
,
@"300
"
]];
[
barChart
strokeChart
];
[
self
.
chartScrollView
addSubview
:
barChartLabel
];
[
self
.
chartScrollView
addSubview
:
barChart
];
...
...
README.md
View file @
448aaea
#PNChart
A simple and beautiful chart lib with animation used in
Piner
for iOS
A simple and beautiful chart lib with animation used in
[
Piner
](
https://itunes.apple.com/us/app/piner/id637706410
)
for iOS
[

](http://dl.dropboxusercontent.com/u/1599662/pnchart.png)
...
...
Please
register
or
login
to post a comment