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-08-10 13:02:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8e83a89bff03ed18babb9f90c770c96fd718577b
8e83a89b
1 parent
f78abd10
Fix Bar Chart PreFix and Suffix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
PNChart/PNBarChart.m
PNChart/PNBarChart.m
View file @
8e83a89
...
...
@@ -64,6 +64,8 @@
_rotateForXAxisText
=
false
;
_isGradientShow
=
YES
;
_isShowNumbers
=
YES
;
_yLabelPrefix
=
@""
;
_yLabelSuffix
=
@""
;
_yLabelFormatter
=
^
(
CGFloat
yValue
){
return
[
NSString
stringWithFormat
:
@"%1.f"
,
yValue
];
};
...
...
@@ -97,7 +99,7 @@
}
#pragma mark - Private Method
#pragma mark -
添加柱状图的Y轴坐标
#pragma mark -
Add Y Label
-
(
void
)
__addYCoordinateLabelsValues
{
[
self
viewCleanupForCollection
:
_yChartLabels
];
...
...
Please
register
or
login
to post a comment