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
Sergey Armodin
2015-05-16 18:44:56 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ae5d3241769ce6528a244ab5a5d94d395285a5e9
ae5d3241
1 parent
dbbbd0ae
- Fix for issue:
https://github.com/kevinzhow/PNChart/issues/198
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
PNChart/PNLineChart.m
PNChart/PNLineChart.m
View file @
ae5d324
...
...
@@ -409,7 +409,7 @@
if
(
!
(
_yValueMax
-
_yValueMin
))
{
innerGrade
=
0
.
5
;
}
else
{
innerGrade
=
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
)
==
0
?
0
.
5
:
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
)
;
innerGrade
=
(
yValue
-
_yValueMin
)
/
(
_yValueMax
-
_yValueMin
);
}
CGFloat
offSetX
=
(
_chartCavanWidth
)
/
(
chartData
.
itemCount
);
...
...
Please
register
or
login
to post a comment