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
2015-06-05 12:13:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
038427965e488fc651ca331d013e573319398cfe
03842796
1 parent
fc54ce43
Fix bar chart style
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
PNChartDemo/PCChartViewController.m
Podfile.lock
PNChartDemo/PCChartViewController.m
View file @
0384279
...
...
@@ -102,12 +102,12 @@
};
self
.
barChart
.
labelMarginTop
=
5
.
0
;
self
.
barChart
.
showChartBorder
=
YES
;
[
self
.
barChart
setXLabels
:@[
@"2"
,
@"3"
,
@"4"
,
@"5"
]];
[
self
.
barChart
setXLabels
:@[
@"2"
,
@"3"
,
@"4"
,
@"5"
,
@"2"
,
@"3"
,
@"4"
,
@"5"
]];
// self.barChart.yLabels = @[@-10,@0,@10];
[
self
.
barChart
setYValues
:@[
@10.82
,
@1.88
,
@6.96
,
@33.93
]];
[
self
.
barChart
setStrokeColors
:@[
PNGreen
,
PNGreen
,
PNRed
,
PNGreen
]];
//
self.barChart.isGradientShow = NO;
self
.
barChart
.
isShowNumbers
=
YES
;
[
self
.
barChart
setYValues
:@[
@10.82
,
@1.88
,
@6.96
,
@33.93
,
@10.82
,
@1.88
,
@6.96
,
@33.93
]];
[
self
.
barChart
setStrokeColors
:@[
PNGreen
,
PNGreen
,
PNRed
,
PNGreen
,
PNGreen
,
PNGreen
,
PNRed
,
PNGreen
]];
self
.
barChart
.
isGradientShow
=
NO
;
self
.
barChart
.
isShowNumbers
=
NO
;
[
self
.
barChart
strokeChart
];
self
.
barChart
.
delegate
=
self
;
...
...
Podfile.lock
View file @
0384279
...
...
@@ -10,5 +10,4 @@ SPEC CHECKSUMS:
Expecta: 78b4e8b0c8291fa4524d7f74016b6065c2e391ec
UICountingLabel: 1db4e7d023e1762171eb226d6dff47a7a84f27aa
COCOAPODS: 0.37.1
COCOAPODS: 0.37.2
...
...
Please
register
or
login
to post a comment