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
2013-11-07 15:19:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d673c1ac1f2a0d75e421a2d26ae15de2035e3ff
1d673c1a
1 parent
57307680
Use objectAtIndex in PNLineChart to replace the firstObject
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
PNChartDemo/PNChart/PNLineChart.m
PNChartDemo/PNChart/PNLineChart.m
View file @
1d673c1
...
...
@@ -9,7 +9,6 @@
#import "PNLineChart.h"
#import "PNColor.h"
#import "PNChartLabel.h"
#import <Foundation/Foundation.h>
@implementation
PNLineChart
...
...
@@ -99,7 +98,7 @@
UIBezierPath
*
progressline
=
[
UIBezierPath
bezierPath
];
CGFloat
firstValue
=
[
[
_yValues
firstObject
]
floatValue
];
CGFloat
firstValue
=
[
_yValues
[
0
]
floatValue
];
CGFloat
xPosition
=
(
xLabelMargin
+
_xLabelWidth
)
;
...
...
Please
register
or
login
to post a comment