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
Zhang Hang
2015-03-01 19:05:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aed485f7151238d4fef1c49dd9ce8c96111fd65e
aed485f7
1 parent
f7afaddc
Value of PieChartDataItem should >= 0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
PNChart/PNPieChartDataItem.m
PNChart/PNPieChartDataItem.m
View file @
aed485f
...
...
@@ -27,4 +27,11 @@
return
item
;
}
-
(
void
)
setValue
:(
CGFloat
)
value
{
NSAssert
(
value
>=
0
,
@"value should >= 0"
);
if
(
value
!=
_value
){
_value
=
value
;
}
}
@end
...
...
Please
register
or
login
to post a comment