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
2014-05-27 23:48:39 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a45ea1e6afaea9d37d4ed28a8001e6b156279e39
a45ea1e6
2 parents
699dba5e
8ae88bbe
Merge pull request #61 from cleexiang/master
NSString -> NSNumber
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
PNChart/PNBarChart/PNBarChart.m
PNChart/PNBarChart/PNBarChart.m
View file @
a45ea1e
...
...
@@ -165,7 +165,7 @@
CGFloat
chartCavanHeight
=
self
.
frame
.
size
.
height
-
_chartMargin
*
2
-
xLabelHeight
;
NSInteger
index
=
0
;
for
(
NS
String
*
valueString
in
_yValues
)
{
for
(
NS
Number
*
valueString
in
_yValues
)
{
float
value
=
[
valueString
floatValue
];
float
grade
=
(
float
)
value
/
(
float
)
_yValueMax
;
...
...
Please
register
or
login
to post a comment