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-04-16 05:11:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6409e6dc4aa15f753ff8fdf7b88a7542abc894d0
6409e6dc
1 parent
8891ac7e
Fix #189
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
PNChart/PNLineChart.m
PNChart/PNLineChart.m
View file @
6409e6d
...
...
@@ -394,7 +394,7 @@
if
(
!
(
_yValueMax
-
_yValueMin
))
{
innerGrade
=
0
.
5
;
}
else
{
innerGrade
=
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
);
innerGrade
=
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
)
==
0
?
0
.
5
:
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
)
;
}
CGFloat
offSetX
=
(
_chartCavanWidth
)
/
(
chartData
.
itemCount
);
...
...
Please
register
or
login
to post a comment