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
cleexiang
2014-05-27 23:00:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8ae88bbe2a69772d4c995f3406aaa34aa2a729b6
8ae88bbe
1 parent
699dba5e
NSString -> NSNumber
Hide 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 @
8ae88bb
...
...
@@ -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