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
Oleg Anghelov
2014-02-19 15:41:31 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92789e391b7adb74b0cb71e518d1999e620bf241
92789e39
1 parent
f2b14724
indentation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
PNChart/PNBarChart.m
PNChart/PNBarChart.m
View file @
92789e3
...
...
@@ -108,11 +108,11 @@
}
else
{
bar
=
[[
PNBar
alloc
]
initWithFrame
:
CGRectMake
((
index
*
_xLabelWidth
+
chartMargin
+
_xLabelWidth
*
0
.
25
),
self
.
frame
.
size
.
height
-
chartCavanHeight
,
_xLabelWidth
*
0
.
6
,
chartCavanHeight
)];
}
bar
.
backgroundColor
=
_barBackgroundColor
;
bar
.
barColor
=
[
self
barColorAtIndex
:
index
];
bar
.
grade
=
grade
;
bar
.
backgroundColor
=
_barBackgroundColor
;
bar
.
barColor
=
[
self
barColorAtIndex
:
index
];
bar
.
grade
=
grade
;
[
_bars
addObject
:
bar
];
[
self
addSubview
:
bar
];
[
self
addSubview
:
bar
];
index
+=
1
;
}
...
...
Please
register
or
login
to post a comment