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-17 13:10:03 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
77b1d301de30ea2292bd7c19ceb9c4fdba6c6a57
77b1d301
1 parent
a3132f53
yLabelFormatter definition for PNBarChart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
PNChart/PNBarChart.m
PNChart/PNBarChart.m
View file @
77b1d30
...
...
@@ -62,6 +62,10 @@
_showChartBorder
=
NO
;
_yChartLabelWidth
=
18
;
_rotateForXAxisText
=
false
;
yLabelFormatter
=
^
(
CGFloat
yValue
){
return
[
NSString
stringWithFormat
:
@"%1.f"
,
yValue
];
};
}
-
(
void
)
setYValues
:
(
NSArray
*
)
yValues
...
...
Please
register
or
login
to post a comment